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
 

Member Data Documentation

◆ LOGIN_ERR_OK

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_OK = 0

0: Login succeeds. No error occurs.

◆ LOGIN_ERR_UNKNOWN

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_UNKNOWN = 1

1: Login fails for reasons unknown.

◆ LOGIN_ERR_REJECTED

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_REJECTED = 2

2: Login is rejected, possibly because the SDK is not initialized or is rejected by the server.

◆ LOGIN_ERR_INVALID_ARGUMENT

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_INVALID_ARGUMENT = 3

3: Invalid login arguments.

◆ LOGIN_ERR_INVALID_APP_ID

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_INVALID_APP_ID = 4

4: The App ID is invalid.

◆ LOGIN_ERR_INVALID_TOKEN

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_INVALID_TOKEN = 5

5: The token is invalid.

◆ LOGIN_ERR_TOKEN_EXPIRED

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_TOKEN_EXPIRED = 6

6: The token has expired, and hence login is rejected.

◆ LOGIN_ERR_NOT_AUTHORIZED

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_NOT_AUTHORIZED = 7

7: Unauthorized login.

◆ LOGIN_ERR_ALREADY_LOGIN

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.

◆ LOGIN_ERR_TIMEOUT

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_TIMEOUT = 9

9: The login times out. The current timeout is set as six seconds.

◆ LOGIN_ERR_TOO_OFTEN

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.

◆ LOGIN_ERR_NOT_INITIALIZED

int io.agora.rtm.RtmStatusCode.LoginError.LOGIN_ERR_NOT_INITIALIZED = 101

101: The SDK is not initialized.