Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration LoginError

Index

Enumeration members

LOGIN_ERR_ALREADY_LOGIN

LOGIN_ERR_ALREADY_LOGIN: = 8

8: The user has logged in to the same client. Possible reasons: 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 ABORTED state.

LOGIN_ERR_INVALID_APP_ID

LOGIN_ERR_INVALID_APP_ID: = 4

4: The App ID is invalid.

LOGIN_ERR_INVALID_ARGUMENT

LOGIN_ERR_INVALID_ARGUMENT: = 3

3: Invalid login argument.

LOGIN_ERR_INVALID_TOKEN

LOGIN_ERR_INVALID_TOKEN: = 5

5: The token is invalid. Check whether you used the correct method to generate the token.

LOGIN_ERR_NOT_AUTHORIZED

LOGIN_ERR_NOT_AUTHORIZED: = 7

7: RESERVED FOR FUTURE USE

LOGIN_ERR_REJECTED

LOGIN_ERR_REJECTED: = 2

2: DEPRECATED

LOGIN_ERR_TIMEOUT

LOGIN_ERR_TIMEOUT: = 9

The login times out. The current timeout is ten seconds. You need to log in again after timeout.

LOGIN_ERR_TOKEN_EXPIRED

LOGIN_ERR_TOKEN_EXPIRED: = 6

6: The token has expired, and hence login is rejected. You need to generate a new token.

LOGIN_ERR_TOO_OFTEN

LOGIN_ERR_TOO_OFTEN: = 10

10: The call frequency of the login method exceeds the limit of two calls per second.

LOGIN_ERR_UNKNOWN

LOGIN_ERR_UNKNOWN: = 1

1: Common login failure.