Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration PeerMessageError

Index

Enumeration members

PEER_MESSAGE_ERR_FAILURE

PEER_MESSAGE_ERR_FAILURE: = 1

1: The sender fails to send the peer-to-peer message.

PEER_MESSAGE_ERR_INCOMPATIBLE_MESSAGE

PEER_MESSAGE_ERR_INCOMPATIBLE_MESSAGE: = 8

8: The message receiver's SDK is too old and cannot recognize this message.

PEER_MESSAGE_ERR_INVALID_MESSAGE

PEER_MESSAGE_ERR_INVALID_MESSAGE: = 7

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

PEER_MESSAGE_ERR_INVALID_USERID

PEER_MESSAGE_ERR_INVALID_USERID: = 6

6: The user ID is invalid.

PEER_MESSAGE_ERR_TIMEOUT

PEER_MESSAGE_ERR_TIMEOUT: = 2

2: A timeout occurs when sending the peer-to-peer message. 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.

PEER_MESSAGE_ERR_TOO_OFTEN

PEER_MESSAGE_ERR_TOO_OFTEN: = 5

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

PEER_MESSAGE_ERR_USER_NOT_LOGGED_IN

PEER_MESSAGE_ERR_USER_NOT_LOGGED_IN: = 102

102: The sender does not call the login method, or the method call of login does not succeed before sending the peer-to-peer message.