IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMSDKListenerabstract

Public Member Functions

void onConnecting ()
 
void onConnectSuccess ()
 
void onConnectFailed (int code, String error)
 
void onKickedOffline ()
 
void onUserSigExpired ()
 
void onSelfInfoUpdated (V2TIMUserFullInfo info)
 

Member Function Documentation

◆ onConnecting()

void onConnecting ( )
inline

The SDK is connecting to the CVM instance

◆ onConnectSuccess()

void onConnectSuccess ( )
inline

The SDK is successfully connected to the CVM instance

◆ onConnectFailed()

void onConnectFailed ( int  code,
String  error 
)
inline

The SDK failed to connect to the CVM instance

◆ onKickedOffline()

void onKickedOffline ( )
inline

The current user is kicked offline: the SDK notifies the user on the UI, and the user can choose to call the login() function of V2TIMManager to log in again.

◆ onUserSigExpired()

void onUserSigExpired ( )
inline

The ticket expires when the user is online: the user needs to generate a new userSig and call the login() function of V2TIMManager to log in again.

◆ onSelfInfoUpdated()

void onSelfInfoUpdated ( V2TIMUserFullInfo  info)
inline

The profile of the current user was updated