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.
<V2TIMSDKListener>

Instance Methods

(void) - onConnecting
 
(void) - onConnectSuccess
 
(void) - onConnectFailed:err:
 
(void) - onKickedOffline
 
(void) - onUserSigExpired
 
(void) - onSelfInfoUpdated:
 

Method Documentation

◆ onConnecting()

- (void) onConnecting
optional

The SDK is connecting to the CVM instance.

◆ onConnectSuccess()

- (void) onConnectSuccess
optional

The SDK is successfully connected to the CVM instance.

◆ onConnectFailed:err:()

- (void) onConnectFailed: (int)  code
err: (NSString *)  err 
optional

The SDK failed to connect to the CVM instance.

◆ onKickedOffline()

- (void) onKickedOffline
optional

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
optional

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
optional

The profile of the current user was updated.