ConnectionChangeReason

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

Public 属性
intCONNECTION_CHANGE_REASON_LOGIN = 1
intCONNECTION_CHANGE_REASON_LOGIN_SUCCESS = 2
intCONNECTION_CHANGE_REASON_LOGIN_FAILURE = 3
intCONNECTION_CHANGE_REASON_LOGIN_TIMEOUT = 4
intCONNECTION_CHANGE_REASON_INTERRUPTED = 5
intCONNECTION_CHANGE_REASON_LOGOUT = 6
intCONNECTION_CHANGE_REASON_BANNED_BY_SERVER = 7
intCONNECTION_CHANGE_REASON_REMOTE_LOGIN = 8

类成员变量说明

CONNECTION_CHANGE_REASON_BANNED_BY_SERVER

int org.ar.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_BANNED_BY_SERVER = 7

7:SDK 被服务器禁止登录 RTM 系统。

CONNECTION_CHANGE_REASON_INTERRUPTED

int org.ar.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_INTERRUPTED = 5

5: SDK 与 RTM 系统的连接被中断。

CONNECTION_CHANGE_REASON_LOGIN

int org.ar.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN = 1

1: SDK 正在登录 RTM 系统。

CONNECTION_CHANGE_REASON_LOGIN_FAILURE

int org.ar.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN_FAILURE = 3

3: SDK 登录 RTM 系统失败。

CONNECTION_CHANGE_REASON_LOGIN_SUCCESS

int org.ar.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN_SUCCESS = 2

2: SDK 登录 RTM 系统成功。

CONNECTION_CHANGE_REASON_LOGIN_TIMEOUT

int org.ar.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGIN_TIMEOUT = 4

4: SDK 无法登录 AR RTM 系统超过 6 秒,停止登录。可能原因:用户正处于 CONNECTION_STATE_ABORTED 状态或 CONNECTION_STATE_RECONNECTING 状态。

CONNECTION_CHANGE_REASON_LOGOUT

int org.ar.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_LOGOUT = 6

6: 用户已调用 logout() 方法登出 RTM 系统。

CONNECTION_CHANGE_REASON_REMOTE_LOGIN

int org.ar.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_REMOTE_LOGIN = 8

8:另一个用户正以相同的用户 ID 登陆 RTM 系统。