Skip to main content

ConnectListener

info

SDK connection status listener, triggered when the connection status changes.

Module NameModule Description
onConnectFailedSDK failed to connect to the server
onConnectSuccessSDK successfully connected to the server
onConnectingSDK is connecting to the server
onKickedOfflineAccount logged in elsewhere, current device is kicked offline
onUserTokenExpiredLogin credential expired, need to log in again