AgoraChatSDK 1.3.1
|
#import <AgoraChatClientDelegate.h>
Instance Methods | |
(void) | - connectionStateDidChange: |
(void) | - autoLoginDidCompleteWithError: |
(void) | - userAccountDidLoginFromOtherDevice: |
(void) | - userAccountDidLoginFromOtherDeviceWithInfo: |
(void) | - userAccountDidRemoveFromServer |
(void) | - userDidForbidByServer |
(void) | - userAccountDidForcedToLogout: |
(void) | - tokenWillExpire: |
(void) | - tokenDidExpire: |
(void) | - onOfflineMessageSyncStart |
(void) | - onOfflineMessageSyncFinish |
(3_1_0, 4_1_0, "Use userAccountDidLoginFromOtherDevice: instead") | - EM_DEPRECATED_IOS |
@abstract This protocol provides a number of utility classes callback
|
optional |
Occurs when the auto login is completed.
aError | Error A description of the issue that caused this call to fail. |
|
optional |
Occurs when the connection state between the SDK and the server changes.
The SDK triggers this callback in any of the following situations:
aConnectionState | The current connection state. |
|
optional |
Occurs when the current user account is logged in to another device.
|
optional |
Occurs when the SDK finishes pulling offline messages from the server.
|
optional |
Occurs when the SDK starts pulling offline messages from the server.
|
optional |
token did expire (log in using agoraToken)
|
optional |
token will expire (log in using agoraToken)
|
optional |
The delegate method will be invoked when current IM account is forced to logout with the following reasons:
|
optional |
Occurs when the current user account is logged in to another device.
aDeviceName | The name of the new login device. |
|
optional |
Occurs when the current user account is logged in to another device.
info | The device name and extended information of the login device AgoraChatLoginInfo . |
|
optional |
Occurs when the current chat user is removed from the server.
|
optional |
The delegate method will be invoked when the User account is forbidden.