Signaling (previously RTM) SDK v1.5.0 API Reference for Android
Public Attributes | List of all members
io.agora.rtm.RtmStatusCode.ConnectionChangeReason Interface Reference

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
 

Member Data Documentation

◆ CONNECTION_CHANGE_REASON_LOGIN

int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN = 1

1: The SDK is logging in the Agora RTM system.

◆ CONNECTION_CHANGE_REASON_LOGIN_SUCCESS

int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN_SUCCESS = 2

2: The SDK has logged in the Agora RTM system.

◆ CONNECTION_CHANGE_REASON_LOGIN_FAILURE

int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN_FAILURE = 3

3: The SDK fails to log in the Agora RTM system.

◆ CONNECTION_CHANGE_REASON_LOGIN_TIMEOUT

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.

◆ CONNECTION_CHANGE_REASON_INTERRUPTED

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.

◆ CONNECTION_CHANGE_REASON_LOGOUT

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.

◆ CONNECTION_CHANGE_REASON_BANNED_BY_SERVER

int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_BANNED_BY_SERVER = 7

7: Login is banned by the Agora RTM server.

◆ CONNECTION_CHANGE_REASON_REMOTE_LOGIN

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.

◆ CONNECTION_CHANGE_REASON_TOKEN_EXPIRED

int io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_TOKEN_EXPIRED = 9

9: The token has expired.