Updated on 2023-03-23 GMT+08:00

Forcible Logout Notification

Notification Description

A notification is sent when your account is kicked out by another terminal. 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 proxy during SDK initialization or set the proxy on the target page.