Signaling (previously RTM) SDK v1.5.0 API Reference for Android
|
Public Attributes |
|
int | LOGIN_ERR_OK = 0 |
int | LOGIN_ERR_UNKNOWN = 1 |
int | LOGIN_ERR_REJECTED = 2 |
int | LOGIN_ERR_INVALID_ARGUMENT = 3 |
int | LOGIN_ERR_INVALID_APP_ID = 4 |
int | LOGIN_ERR_INVALID_TOKEN = 5 |
int | LOGIN_ERR_TOKEN_EXPIRED = 6 |
int | LOGIN_ERR_NOT_AUTHORIZED = 7 |
int | LOGIN_ERR_ALREADY_LOGIN = 8 |
int | LOGIN_ERR_TIMEOUT = 9 |
int | LOGIN_ERR_TOO_OFTEN = 10 |
int | LOGIN_ERR_NOT_INITIALIZED = 101 |
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_OK = 0 |
0: Login succeeds. No error occurs.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_UNKNOWN = 1 |
1: Login fails for reasons unknown.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_REJECTED = 2 |
2: Login is rejected by the server.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_INVALID_ARGUMENT = 3 |
3: Invalid login arguments.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_INVALID_APP_ID = 4 |
4: The App ID is invalid.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_INVALID_TOKEN = 5 |
5: The token is invalid.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_TOKEN_EXPIRED = 6 |
6: The token has expired, and hence login is rejected.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_NOT_AUTHORIZED = 7 |
7: Authentication of the RTM Token fails.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_ALREADY_LOGIN = 8 |
8: The user has already logged in or is logging in the Agora RTM system, or the user has
not called the
logout
method to leave the CONNECTION_STATE_ABORTED state.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_TIMEOUT = 9 |
9: The login times out. The current timeout is set as 12 seconds. You need to log in again.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_TOO_OFTEN = 10 |
10: The call frequency of the
login
method exceeds the limit of two queries per second.
int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_NOT_INITIALIZED = 101 |
101: The SDK is not initialized.