Chat SDK for Unity and Windows v1.2.0
|
Public Member Functions | |
void | OnConnected () |
void | OnDisconnected () |
void | OnLoggedOtherDevice (string deviceName) |
void | OnRemovedFromServer () |
void | OnForbidByServer () |
void | OnChangedIMPwd () |
void | OnLoginTooManyDevice () |
void | OnKickedByOtherDevice () |
void | OnAuthFailed () |
void | OnTokenExpired () |
void | OnTokenWillExpire () |
void | OnAppActiveNumberReachLimitation () |
The connection callback interface.
void AgoraChat.IConnectionDelegate.OnConnected | ( | ) |
Occurs when the SDK successfully connects to the chat server.
void AgoraChat.IConnectionDelegate.OnDisconnected | ( | ) |
Occurs when the SDK disconnects from the chat server.
The SDK disconnects from the chat server when you log out of the app or a network interruption occurs.
void AgoraChat.IConnectionDelegate.OnLoggedOtherDevice | ( | string | deviceName | ) |
Occurs when the user logs in to another device with the current account.
deviceName | The name of another device. |
void AgoraChat.IConnectionDelegate.OnRemovedFromServer | ( | ) |
Occurs when the current user account is removed from the server.
void AgoraChat.IConnectionDelegate.OnForbidByServer | ( | ) |
Occurs when the current user account is banned.
void AgoraChat.IConnectionDelegate.OnChangedIMPwd | ( | ) |
Occurs when the user is forced to log out of the current account because the login password is changed.
void AgoraChat.IConnectionDelegate.OnLoginTooManyDevice | ( | ) |
Occurs when the user is forced to log out of the current account because he or she reaches the maximum number of devices that the user can log in to with the current account.
void AgoraChat.IConnectionDelegate.OnKickedByOtherDevice | ( | ) |
Occurs when the user is forced to log out of the current account from the current device due to login to another device.
void AgoraChat.IConnectionDelegate.OnAuthFailed | ( | ) |
Occurs when the user is forced to log out of the current account due to an authentication failure.
void AgoraChat.IConnectionDelegate.OnTokenExpired | ( | ) |
Occurs when the token has expired.
void AgoraChat.IConnectionDelegate.OnTokenWillExpire | ( | ) |
Occurs when the token is about to expire.
void AgoraChat.IConnectionDelegate.OnAppActiveNumberReachLimitation | ( | ) |
The number of active apps has reached the upper limit.