PeerSubscriptionStatusError

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

Public 属性
intPEER_SUBSCRIPTION_STATUS_ERR_OK = 0
intPEER_SUBSCRIPTION_STATUS_ERR_FAILURE = 1
intPEER_SUBSCRIPTION_STATUS_ERR_INVALID_ARGUMENT = 2
intPEER_SUBSCRIPTION_STATUS_ERR_REJECTED = 3
intPEER_SUBSCRIPTION_STATUS_ERR_TIMEOUT = 4
intPEER_SUBSCRIPTION_STATUS_ERR_TOO_OFTEN = 5
intPEER_SUBSCRIPTION_STATUS_ERR_OVERFLOW = 6
intPEER_SUBSCRIPTION_STATUS_ERR_NOT_INITIALIZED = 101
intPEER_SUBSCRIPTION_STATUS_ERR_USER_NOT_LOGGED_IN = 102

类成员变量说明

PEER_SUBSCRIPTION_STATUS_ERR_FAILURE

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_FAILURE = 1

1: 通用未知错误。

PEER_SUBSCRIPTION_STATUS_ERR_INVALID_ARGUMENT

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_INVALID_ARGUMENT = 2

2: 无效的输入参数。

PEER_SUBSCRIPTION_STATUS_ERR_NOT_INITIALIZED

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_NOT_INITIALIZED = 101

101: SDK 未初始化。

PEER_SUBSCRIPTION_STATUS_ERR_OK

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_OK = 0

0: 订阅或退订用户在线状态成功。

PEER_SUBSCRIPTION_STATUS_ERR_OVERFLOW

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_OVERFLOW = 6

6: 订阅人数超过 512 人的上限。

PEER_SUBSCRIPTION_STATUS_ERR_REJECTED

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_REJECTED = 3

3: 预留错误码

PEER_SUBSCRIPTION_STATUS_ERR_TIMEOUT

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_TIMEOUT = 4

4: 服务器响应超时。当前的超时设置为 10 秒。可能原因:用户正处于 CONNECTION_STATE_ABORTED 或 CONNECTION_STATE_RECONNECTING 状态。

PEER_SUBSCRIPTION_STATUS_ERR_TOO_OFTEN

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_TOO_OFTEN = 5

5: 方法调用过于频繁。超过每 5 秒 10 次的上限。

PEER_SUBSCRIPTION_STATUS_ERR_USER_NOT_LOGGED_IN

int org.ar.rtm.RtmStatusCode.PeerSubscriptionStatusError.PEER_SUBSCRIPTION_STATUS_ERR_USER_NOT_LOGGED_IN = 102

102: 订阅或退订用户在线状态前未调用 login 方法或者 login 方法调用未成功。