Signaling (previously RTM) SDK v1.5.0 API Reference for Linux (Java)
|
Public Attributes |
|
int | JOIN_CHANNEL_ERR_OK = 0 |
int | JOIN_CHANNEL_ERR_FAILURE = 1 |
int | JOIN_CHANNEL_ERR_REJECTED = 2 |
int | JOIN_CHANNEL_ERR_INVALID_ARGUMENT = 3 |
int | JOIN_CHANNEL_TIMEOUT = 4 |
int | JOIN_CHANNEL_ERR_EXCEED_LIMIT = 5 |
int | JOIN_CHANNEL_ERR_ALREADY_JOINED = 6 |
int | JOIN_CHANNEL_ERR_TOO_OFTEN = 7 |
int | JOIN_CHANNEL_ERR_JOIN_SAME_CHANNEL_TOO_OFTEN = 8 |
int | JOIN_CHANNEL_ERR_NOT_INITIALIZED = 101 |
int | JOIN_CHANNEL_ERR_USER_NOT_LOGGED_IN = 102 |
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_OK = 0 |
0: The user joins the channel successfully.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_FAILURE = 1 |
1: The user fails to join the channel.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_REJECTED = 2 |
2: For v1.0.0 and earlier, the SDK returns this error when you try to join a channel that you have already joined. The SDK does not return this error code after v1.0.0.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_INVALID_ARGUMENT = 3 |
3: The user fails to join the channel because the argument is invalid.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_TIMEOUT = 4 |
4: A timeout occurs when joining the channel. The current timeout is set as five seconds. Possible reasons: The user is in the CONNECTION_STATE_ABORTED or CONNECTION_STATE_RECONNECTING state.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_EXCEED_LIMIT = 5 |
5: The number of the RTM channels you are in exceeds the limit of 20.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_ALREADY_JOINED = 6 |
6: The user is joining or has joined the channel.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_TOO_OFTEN = 7 |
7: The method call frequency exceeds the limit of 50 queries every three seconds.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_JOIN_SAME_CHANNEL_TOO_OFTEN = 8 |
8: The frequency of joining the same channel exceeds two times every five seconds.
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_NOT_INITIALIZED = 101 |
101: The SDK is not initialized.