ConnectListener
info
SDK connection status listener, triggered when the connection status changes.
| Module Name | Module Description |
|---|---|
| onConnectFailed | SDK failed to connect to the server |
| onConnectSuccess | SDK successfully connected to the server |
| onConnecting | SDK is connecting to the server |
| onKickedOffline | Account logged in elsewhere, current device is kicked offline |
| onUserTokenExpired | Login credential expired, need to log in again |