Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration JoinChannelError

Index

Enumeration members

JOIN_CHANNEL_ERR_ALREADY_JOINED

JOIN_CHANNEL_ERR_ALREADY_JOINED: = 6

6: The user is joining or has joined the channel.

JOIN_CHANNEL_ERR_ALREADY_JOINED_CHANNEL_OF_SAME_ID

JOIN_CHANNEL_ERR_ALREADY_JOINED_CHANNEL_OF_SAME_ID: = 202

202: The user has created multiple channel instances of the same channel name.

JOIN_CHANNEL_ERR_EXCEED_LIMIT

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

JOIN_CHANNEL_ERR_FAILURE: = 1

1: Common failure. The user fails to join the channel.

JOIN_CHANNEL_ERR_INVALID_ARGUMENT

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

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_REJECTED

JOIN_CHANNEL_ERR_REJECTED: = 2

2: RESERVED FOR FUTURE USE

Note

Before v1.0.0, when you use the {@link RtmChannel.join()} method to join a channel that you have previously joined, the {@link RtmChannel.join()} method returns this error. For v1.0.0 and later, the {@link RtmChannel.join()} method returns the RtmChannel instance of the joined channel.

JOIN_CHANNEL_ERR_TOO_OFTEN

JOIN_CHANNEL_ERR_TOO_OFTEN: = 7

7: The method call frequency exceeds 50 calls every three seconds.

JOIN_CHANNEL_ERR_USER_NOT_LOGGED_IN

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

JOIN_CHANNEL_TIMEOUT: = 4

4: A timeout occurs when joining the channel. The current timeout is set as five seconds. The current login timeout is set as six seconds. Possible reasons: The user is in the ABORTED or RECONNECTING state.