Documentation
Real-time Messaging
API Reference
Agora RTM Java API Reference for Android
Agora RTM Java API Reference for Android
◆ 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.