Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ChannelMessageError

Index

Enumeration members

CHANNEL_MESSAGE_ERR_FAILURE

CHANNEL_MESSAGE_ERR_FAILURE: = 1

1: Common failure. The user fails to send the channel message.

CHANNEL_MESSAGE_ERR_INVALID_MESSAGE

CHANNEL_MESSAGE_ERR_INVALID_MESSAGE: = 4

4: The message is null or exceeds 32 KB in length.

CHANNEL_MESSAGE_ERR_NOT_IN_CHANNEL

CHANNEL_MESSAGE_ERR_NOT_IN_CHANNEL: = 5

5: The user is not in the channel.

CHANNEL_MESSAGE_ERR_TIMEOUT

CHANNEL_MESSAGE_ERR_TIMEOUT: = 2

2: The SDK does not receive a response from the server in five seconds. 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.

CHANNEL_MESSAGE_ERR_TOO_OFTEN

CHANNEL_MESSAGE_ERR_TOO_OFTEN: = 3

3: The method call frequency exceeds the limit of 180 calls every three seconds (channel and peer messages taken together).

CHANNEL_MESSAGE_ERR_USER_NOT_LOGGED_IN

CHANNEL_MESSAGE_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 sending out a channel message.