agora_chat_SDK  3.8.2
Instance Methods | List of all members
<AgoraChatClientDelegate> Protocol Reference

#import <AgoraChatClientDelegate.h>

Inheritance diagram for <AgoraChatClientDelegate>:

Instance Methods

(void) - connectionStateDidChange:
 
(void) - autoLoginDidCompleteWithError:
 
(void) - userAccountDidLoginFromOtherDevice
 
(void) - userAccountDidRemoveFromServer
 
(void) - userDidForbidByServer
 
(void) - userAccountDidForcedToLogout:
 
(void) - didConnectionStateChanged:
 
(void) - didAutoLoginWithError:
 
("Use -userAccountDidLoginFromOtherDevice") - __deprecated_msg
 
("Use -userAccountDidRemoveFromServer") - __deprecated_msg
 

Detailed Description

This protocol provides a number of utility classes callback

Method Documentation

- ("Use -userAccountDidLoginFromOtherDevice") __deprecated_msg
optional

Will receive this callback when current account login from other device

- ("Use -userAccountDidRemoveFromServer") __deprecated_msg
optional

Current login account will receive the callback is deleted from the server

- (void) autoLoginDidCompleteWithError: (AgoraError *)  aError
optional

Invoked when auto login is completed

Parameters
aErrorError
- (void) connectionStateDidChange: (AgoraConnectionState)  aConnectionState
optional

Invoked when server connection state has changed

Parameters
aConnectionStateCurrent state
- (void) didAutoLoginWithError: ("Use -autoLoginDidCompleteWithError:")  __deprecated_msg
optional

Callback Automatic login fails

Parameters
aErrorError
- (void) didConnectionStateChanged: ("Use -connectionStateDidChange:")  __deprecated_msg
optional

Connection to the server status changes will receive the callback

calling the method causes:

  1. After successful login, the phone can not access
  2. After a successful login, network status change
Parameters
aConnectionStateCurrent state
- (void) userAccountDidForcedToLogout: (AgoraError *)  aError
optional

Delegate method will be invoked when current IM account is forced to logout with the following reasons:

  1. The password is modified
  2. Logged in too many devices
- (void) userAccountDidLoginFromOtherDevice
optional

Invoked when current IM account logged into another device

- (void) userAccountDidRemoveFromServer
optional

Invoked when current IM account is removed from server

- (void) userDidForbidByServer
optional

Delegate method will be invoked when User is forbidden


The documentation for this protocol was generated from the following file: