Public 属性 | |
---|---|
int | CHANNEL_MESSAGE_ERR_OK = 0 |
int | CHANNEL_MESSAGE_ERR_FAILURE = 1 |
int | CHANNEL_MESSAGE_ERR_TIMEOUT = 2 |
int | CHANNEL_MESSAGE_ERR_TOO_OFTEN = 3 |
int | CHANNEL_MESSAGE_ERR_INVALID_MESSAGE = 4 |
int | CHANNEL_MESSAGE_ERR_NOT_INITIALIZED = 101 |
int | CHANNEL_MESSAGE_ERR_USER_NOT_LOGGED_IN = 102 |
类成员变量说明
CHANNEL_MESSAGE_ERR_FAILURE
int org.ar.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_FAILURE = 1
1:发送频道消息失败。
CHANNEL_MESSAGE_ERR_INVALID_MESSAGE
int org.ar.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_INVALID_MESSAGE = 4
4: 消息为 null 或超出 32 KB 的长度限制。
CHANNEL_MESSAGE_ERR_NOT_INITIALIZED
int org.ar.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_NOT_INITIALIZED = 101
101: SDK 未完成初始化。
CHANNEL_MESSAGE_ERR_OK
int org.ar.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_OK = 0
0: 服务端已接收到频道消息。
CHANNEL_MESSAGE_ERR_TIMEOUT
int org.ar.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_TIMEOUT = 2
2: 服务器未收到频道消息或者 SDK 未在 10 秒内收到服务器响应。当前的超时设置为 10 秒。可能原因:用户正处于 CONNECTION_STATE_ABORTED 状态或 CONNECTION_STATE_RECONNECTING 状态。
CHANNEL_MESSAGE_ERR_TOO_OFTEN
int org.ar.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_TOO_OFTEN = 3
3: 发送消息(点对点消息和频道消息一并计算在内)超过 每 3 秒 180 次的上限。
CHANNEL_MESSAGE_ERR_USER_NOT_LOGGED_IN
int org.ar.rtm.RtmStatusCode.ChannelMessageError.CHANNEL_MESSAGE_ERR_USER_NOT_LOGGED_IN = 102