JoinChannelError

最近更新时间:2022-09-20 05:17:40

Public 属性
intJOIN_CHANNEL_ERR_OK = 0
intJOIN_CHANNEL_ERR_FAILURE = 1
intJOIN_CHANNEL_ERR_REJECTED = 2
intJOIN_CHANNEL_ERR_INVALID_ARGUMENT = 3
intJOIN_CHANNEL_TIMEOUT = 4
intJOIN_CHANNEL_ERR_EXCEED_LIMIT = 5
intJOIN_CHANNEL_ERR_ALREADY_JOINED = 6
intJOIN_CHANNEL_ERR_TOO_OFTEN = 7
JOIN_CHANNEL_ERR_JOIN_SAME_CHANNEL_TOO_OFTEN = 8
intJOIN_CHANNEL_ERR_NOT_INITIALIZED = 101
intJOIN_CHANNEL_ERR_USER_NOT_LOGGED_IN = 102

类成员变量说明

JOIN_CHANNEL_ERR_ALREADY_JOINED

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_ALREADY_JOINED = 6

6: 用户正在加入频道或已成功加入频道。

JOIN_CHANNEL_ERR_EXCEED_LIMIT

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_EXCEED_LIMIT = 5

5: 同时加入的频道数超过 20 上限。

JOIN_CHANNEL_ERR_FAILURE

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_FAILURE = 1

1:用户加入频道失败。

JOIN_CHANNEL_ERR_INVALID_ARGUMENT

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_INVALID_ARGUMENT = 3

3:用户加入频道失败。原因可能是参数无效。

JOIN_CHANNEL_ERR_JOIN_SAME_CHANNEL_TOO_OFTEN

org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_JOIN_SAME_CHANNEL_TOO_OFTEN = 8

8: 加入相同频道的频率超过每 5 秒 2 次的上限。

JOIN_CHANNEL_ERR_NOT_INITIALIZED

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_NOT_INITIALIZED = 101

101: SDK 未完成初始化。

JOIN_CHANNEL_ERR_OK

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_OK = 0

0:用户加入频道成功。

JOIN_CHANNEL_ERR_REJECTED

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_REJECTED = 2

2: 预留错误码

JOIN_CHANNEL_ERR_TOO_OFTEN

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_TOO_OFTEN = 7

7: 方法调用超过 50 次每 3 秒的上限。

JOIN_CHANNEL_ERR_USER_NOT_LOGGED_IN

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_ERR_USER_NOT_LOGGED_IN = 102

102: 用户加入频道前未调用 login 方法或者 login 方法调用未成功。

JOIN_CHANNEL_TIMEOUT

int org.ar.rtm.RtmStatusCode.JoinChannelError.JOIN_CHANNEL_TIMEOUT = 4

4:用户加入频道超时。当前的超时设置为 5 秒。可能原因:用户正处于 CONNECTION_STATE_ABORTED 状态或 CONNECTION_STATE_RECONNECTING 状态。