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

Public Attributes

int  RENEW_TOKEN_ERR_OK = 0
 
int  RENEW_TOKEN_ERR_FAILURE = 1
 
int  RENEW_TOKEN_ERR_INVALID_ARGUMENT = 2
 
int  RENEW_TOKEN_ERR_REJECTED = 3
 
int  RENEW_TOKEN_ERR_TOO_OFTEN = 4
 
int  RENEW_TOKEN_ERR_TOKEN_EXPIRED = 5
 
int  RENEW_TOKEN_ERR_INVALID_TOKEN = 6
 
int  RENEW_TOKEN_ERR_NOT_INITIALIZED = 101
 
int  RENEW_TOKEN_ERR_USER_NOT_LOGGED_IN = 102
 

Member Data Documentation

◆ RENEW_TOKEN_ERR_OK

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_OK = 0

0: The token-renewing operation succeeds.

◆ RENEW_TOKEN_ERR_FAILURE

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_FAILURE = 1

1: The method call fails.

◆ RENEW_TOKEN_ERR_INVALID_ARGUMENT

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_INVALID_ARGUMENT = 2

2: The method call fails. The argument is invalid.

◆ RENEW_TOKEN_ERR_REJECTED

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_REJECTED = 3

3: RESERVED FOR FUTURE USE

◆ RENEW_TOKEN_ERR_TOO_OFTEN

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_TOO_OFTEN = 4

4: The method call frequency has exceeded the limit of two queries per second.

◆ RENEW_TOKEN_ERR_TOKEN_EXPIRED

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_TOKEN_EXPIRED = 5

5: This token has expired.

◆ RENEW_TOKEN_ERR_INVALID_TOKEN

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_INVALID_TOKEN = 6

6: This token is invalid.

◆ RENEW_TOKEN_ERR_NOT_INITIALIZED

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_NOT_INITIALIZED = 101

101: The SDK is not initialized.

◆ RENEW_TOKEN_ERR_USER_NOT_LOGGED_IN

int io.agora.rtm.RtmStatusCode.RenewTokenError.RENEW_TOKEN_ERR_USER_NOT_LOGGED_IN = 102

102: The sender does not call the login method, or the method call of login does not succeed before renewing the token.