IoT SDK for Android v1.8.0
Static Public Attributes | List of all members
io.agora.rtc.AgoraRtcService.RtmErrCode Class Reference

Static Public Attributes

static final int ERR_RTM_OK = 0
 
static final int ERR_RTM_FAILED = 1
 
static final int ERR_RTM_LOGIN_REJECTED = 2
 
static final int ERR_RTM_INVALID_RTM_UID = 3
 
static final int ERR_RTM_LOGIN_INVALID_TOKEN = 5
 
static final int ERR_RTM_LOGIN_NOT_AUTHORIZED = 7
 
static final int ERR_RTM_INVALID_APP_ID = 101
 
static final int WARN_RTM_LOOKUP_CHANNEL_REJECTED = 105
 
static final int ERR_RTM_TOKEN_EXPIRED = 109
 
static final int ERR_RTM_INVALID_TOKEN = 110
 

Detailed Description

RTM error codes.

Member Data Documentation

◆ ERR_RTM_FAILED

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_FAILED = 1
static

1: General error. You can diagnose issues with the SDK log.

◆ ERR_RTM_INVALID_APP_ID

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_INVALID_APP_ID = 101
static

101: Your App ID is invalid. Check whether your App ID is valid.

◆ ERR_RTM_INVALID_RTM_UID

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_INVALID_RTM_UID = 3
static

3: The RTM user ID is invalid. Check whether the RTM user ID uses supported characters.

◆ ERR_RTM_INVALID_TOKEN

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_INVALID_TOKEN = 110
static

110: The RTM token is invalid. Check whether your RTM token is valid.

◆ ERR_RTM_LOGIN_INVALID_TOKEN

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_LOGIN_INVALID_TOKEN = 5
static

5: The RTM token is invalid. Check whether your RTM token is valid.

◆ ERR_RTM_LOGIN_NOT_AUTHORIZED

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_LOGIN_NOT_AUTHORIZED = 7
static

7: Unauthorized login. You must log into RTM before performing other operations.

◆ ERR_RTM_LOGIN_REJECTED

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_LOGIN_REJECTED = 2
static

2: Login is rejected by the server. Check whether your App ID, RTM user ID, and RTM token are valid.

◆ ERR_RTM_OK

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_OK = 0
static

0: No error.

◆ ERR_RTM_TOKEN_EXPIRED

final int io.agora.rtc.AgoraRtcService.RtmErrCode.ERR_RTM_TOKEN_EXPIRED = 109
static

109: The RTM token has expired. You need to generate a new RTM token from your app server.

◆ WARN_RTM_LOOKUP_CHANNEL_REJECTED

final int io.agora.rtc.AgoraRtcService.RtmErrCode.WARN_RTM_LOOKUP_CHANNEL_REJECTED = 105
static

105: The server rejected the request to look up RTM channel. Check whether your RTM token is valid.


The documentation for this class was generated from the following file: