Signaling (previously RTM) SDK v1.5.0 API Reference for Android
|
Public Attributes |
|
int | CHANNEL_MESSAGE_ERR_OK = 0 |
int | CHANNEL_MESSAGE_ERR_FAILURE = 1 |
int | CHANNEL_MESSAGE_ERR_TIMEOUT = 2 |
int | CHANNEL_MESSAGE_ERR_TOO_OFTEN = 3 |
int | CHANNEL_MESSAGE_ERR_INVALID_MESSAGE = 4 |
int | CHANNEL_MESSAGE_ERR_NOT_INITIALIZED = 101 |
int | CHANNEL_MESSAGE_ERR_USER_NOT_LOGGED_IN = 102 |
int io.agora.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_OK = 0 |
0: The server receives the channel message.
int io.agora.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_FAILURE = 1 |
1: The user fails to send the channel message.
int io.agora.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_TIMEOUT = 2 |
2: The SDK does not receive a response from the server in 10 seconds. The current timeout is set as 10 seconds. Possible reasons: The user is in the CONNECTION_STATE_ABORTED or CONNECTION_STATE_RECONNECTING state.
int io.agora.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_TOO_OFTEN = 3 |
3: The method call frequency exceeds the limit of 180 calls every three seconds (channel and peer messages taken together).
int io.agora.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_INVALID_MESSAGE = 4 |
4: The message is null or exceeds 32 KB in length.
int io.agora.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_NOT_INITIALIZED = 101 |
101: The SDK is not initialized.