Error codes related to joining a channel.
◆ JOIN_CHANNEL_ERR_ALREADY_JOINED
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_ALREADY_JOINED = 6 |
6: The user is joining or has joined the channel.
◆ JOIN_CHANNEL_ERR_EXCEED_LIMIT
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.
◆ JOIN_CHANNEL_ERR_FAILURE
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_FAILURE = 1 |
1: The user fails to join the channel.
◆ JOIN_CHANNEL_ERR_INVALID_ARGUMENT
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.
◆ JOIN_CHANNEL_ERR_JOIN_SAME_CHANNEL_TOO_OFTEN
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.
◆ JOIN_CHANNEL_ERR_NOT_INITIALIZED
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_NOT_INITIALIZED = 101 |
101: The SDK is not initialized.
◆ JOIN_CHANNEL_ERR_OK
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_OK = 0 |
0: The user joins the channel successfully.
◆ JOIN_CHANNEL_ERR_REJECTED
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_REJECTED = 2 |
2: RESERVED FOR FUTURE USE
◆ JOIN_CHANNEL_ERR_TOO_OFTEN
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.
◆ JOIN_CHANNEL_ERR_USER_NOT_LOGGED_IN
int io.agora.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_USER_NOT_LOGGED_IN = 102 |
102: The user does not call the login method, or the method call of login does not succeed before joining the channel.
◆ JOIN_CHANNEL_TIMEOUT
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.