Updated on 2024-07-30 GMT+08:00

Forcible Logout Notification

Notification Description

A notification is sent when you were kicked out of this account by another device. In this case, you need to log in again. You need to call the login API again to perform operations.

Method Definition

1
- (void)onKickedOut;

Sample Code

/// Forcibly logged out.
- (void)onKickedOut {
    NSLog(@"Your account has logged in on another terminal.");
}

Precautions

  1. Subscribe to the HWMNotifyHandler delegate during SDK initialization or set the delegate on the target page.