Signaling (previously RTM) SDK v1.5.0 API Reference for Android
|
Public Attributes |
|
int | CONNECTION_CHANGE_REASON_LOGIN = 1 |
int | CONNECTION_CHANGE_REASON_LOGIN_SUCCESS = 2 |
int | CONNECTION_CHANGE_REASON_LOGIN_FAILURE = 3 |
int | CONNECTION_CHANGE_REASON_LOGIN_TIMEOUT = 4 |
int | CONNECTION_CHANGE_REASON_INTERRUPTED = 5 |
int | CONNECTION_CHANGE_REASON_LOGOUT = 6 |
int | CONNECTION_CHANGE_REASON_BANNED_BY_SERVER = 7 |
int | CONNECTION_CHANGE_REASON_REMOTE_LOGIN = 8 |
int | CONNECTION_CHANGE_REASON_TOKEN_EXPIRED = 9 |
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN = 1 |
1: The SDK is logging in the Agora RTM system.
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN_SUCCESS = 2 |
2: The SDK has logged in the Agora RTM system.
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN_FAILURE = 3 |
3: The SDK fails to log in the Agora RTM system.
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN_TIMEOUT = 4 |
4: The login has timed out, and the SDK stops logging in. The current login timeout is set as 12 seconds.
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_INTERRUPTED = 5 |
5: The connection between the SDK and the Agora RTM system is interrupted for more than four seconds.
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGOUT = 6 |
6: The user has called the
logout()
method to log out of the Agora RTM system.
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_BANNED_BY_SERVER = 7 |
7: Login is banned by the Agora RTM server.
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_REMOTE_LOGIN = 8 |
8: Another instance has logged in the Agora RTM system with the same user ID.
int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_TOKEN_EXPIRED = 9 |
9: The token has expired.