public final class ResponseCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short |
DOWNLOAD_EXPIRE_FILE
Failed to download expired files for NOS token scenario
|
static short |
FILE_NOT_FOUND
File not found
|
static short |
FILE_UPLOAD_ERROR
Upload failed
|
static short |
RES_ACCOUNT_BLOCK
The account is banned
|
static short |
RES_ADDR_BLOCKED
Login IP address or MAC addres is banned.
|
static short |
RES_API_SYNC_RUN_ON_LOOPER_THREAD_EXCEPTION
The operation to convert an asynchronous call to a synchronous call occurs on the thread with Looper.
|
static short |
RES_API_SYNC_RUNTIME_EXCEPTION
A runtime exception occurs when the an asynchronous call is converted to synchronous.
|
static short |
RES_API_SYNC_TIMEOUT
Timeout for converting an asynchronous call to synchronous call
|
static short |
RES_CALLBACK_APP_EXCEPTION
An exception occurs when the SDK callback for the upper-layer operation is triggered.
|
static short |
RES_CALLBACK_CUSTOM_CODE_MAX
The maximum value of custom error codes returned by third-party callbacks.
|
static short |
RES_CALLBACK_CUSTOM_CODE_MIN
The minimum value of the custom error codes returned by third-party callbacks.
|
static short |
RES_CHANNEL_HAS_EXISTS
The channel already exists
|
static short |
RES_CHANNEL_MEMBER_EXCEED
The number of channels exceeds the upper limit
|
static short |
RES_CHANNEL_MEMBER_HAS_EXISTS
The member is already in the channel
|
static short |
RES_CHANNEL_MEMBER_HAS_EXISTS_OTHER_CLIENT
The member has already joined the channel from other devices
|
static short |
RES_CHANNEL_MEMBER_NOT_EXISTS
The member is not in channel
|
static short |
RES_CHANNEL_NOT_EXISTS
The channel does not exist
|
static short |
RES_CHATROOM_BLACKLIST
The account is included in the blacklist and is not allowed to join the chat room
|
static short |
RES_CHATROOM_IM_LINK_EXCEPTION
IM connection status error
|
static short |
RES_CHATROOM_MUTED
The account is included in the muted list and not allowed to speak
|
static short |
RES_CHATROOM_ROOM_MUTED
The chat room is in an all-muted state.
|
static short |
RES_CHATROOM_STATUS_EXCEPTION
Chat room status exception
|
static short |
RES_CLEAR_UNREAD_PART_SUCCESS
Clear the unread messages in the session successfully
|
static short |
RES_DB_EXCEPTION
A database operation failed.
|
static short |
RES_DEVICE_NOT_TRUST
The device is not included in the list of trusted devices
|
static short |
RES_ECONNECTION
Network connection error
|
static short |
RES_EEXIST
The object already exists
|
static short |
RES_EFREQUENTLY
The operation is too frequent
|
static short |
RES_ENONEXIST
Target object or user does not exist.
|
static short |
RES_EPACKET
Internal error.
|
static short |
RES_EPARAM
Invalid parameter
|
static short |
RES_ETIMEOUT
Operation timeout
|
static short |
RES_EUIDPASS
Incorrect password.
|
static short |
RES_EUNKNOWN
Server internal error.
|
static short |
RES_EUNPACKET
Internal error.
|
static short |
RES_EXCEPTION
Operation exception
|
static short |
RES_FORBIDDEN
The app is banned
|
static short |
RES_IN_BLACK_LIST
The recipient is added to the blacklist
|
static short |
RES_INVALID
Invalid response
|
static short |
RES_INVITE_HAS_ACCEPT
Invitation was accepted
|
static short |
RES_INVITE_HAS_REJECT
The invitation was declined
|
static short |
RES_INVITE_NOT_EXISTS
The invitation does not exist or has expired
|
static short |
RES_IP_NOT_ALLOWED
Internal accounts are not allowed to log in to this address
|
static short |
RES_JOIN_CHANNEL_UID_CONFLICT
A uid conflict occurred when joining a channel
|
static short |
RES_OFFLINE
Yhe member is not online.
|
static short |
RES_OVERDUE
Overdue response
|
static short |
RES_PEER_NIM_OFFLINE
The operation is successful, but the peer is not online.
|
static short |
RES_PEER_PUSH_OFFLINE
The operation is successful, but the peer push is unreachable.
|
static short |
RES_REGISTER_PUSH_SDK_FAILED
Failed to get the token when registering a third-party push service
|
static short |
RES_REGISTER_PUSH_SDK_TIME_OUT
timeout when registering a third-party push service
|
static short |
RES_RP_INVALID
Red Packet is not available
|
static short |
RES_SUCCESS
Successful operation.
|
static short |
RES_TEAM_ALREADY_IN
The user is already in the group
|
static short |
RES_TEAM_APPLY_SUCCESS
The request is accepted.
|
static short |
RES_TEAM_ECOUNT_LIMIT
The number of group member has been reached.
|
static short |
RES_TEAM_EMEMBER_NOTEXIST
The user is not included in the group
|
static short |
RES_TEAM_ENACCESS
No permissions
|
static short |
RES_TEAM_ENOTEXIST
Group does not exist
|
static short |
RES_TEAM_ERR_TYPE
Incorrect group type
|
static short |
RES_TEAM_INFO_PART_SUCCESS
Some requests are successful, and a list of failures is returned
|
static short |
RES_TEAM_INVITE_PART_SUCCESS
Some invitations are successful, and also a list of failures is returned.
|
static short |
RES_TEAM_INVITE_SUCCESS
Invitation succeeded.
|
static short |
RES_TEAM_LIMIT
The number of groups has reached the upper limit
|
static short |
RES_TEAM_USER_STATUS_ERR
The status of group members is incorrect
|
static short |
RES_TOOBUZY
Server is too busy.
|
static short |
RES_UNKNOWN
Unknown error
|
static short |
RES_UNSUPPORT
The operations is not supported
|
static short |
RES_VERSION_EXPIRED
The version number is too old and must be upgraded.
|
static short |
USE_INVALID_SCENE
Invalid scene key
|
Constructor and Description |
---|
ResponseCode() |
public static final short RES_SUCCESS
public static final short RES_EUIDPASS
public static final short RES_ADDR_BLOCKED
public static final short RES_IP_NOT_ALLOWED
public static final short RES_VERSION_EXPIRED
public static final short RES_FORBIDDEN
public static final short RES_ENONEXIST
public static final short RES_ETIMEOUT
public static final short RES_EPARAM
public static final short RES_ECONNECTION
public static final short RES_EFREQUENTLY
public static final short RES_EEXIST
public static final short RES_ACCOUNT_BLOCK
public static final short RES_DEVICE_NOT_TRUST
public static final short RES_EUNKNOWN
public static final short RES_DB_EXCEPTION
public static final short RES_TOOBUZY
public static final short RES_OVERDUE
public static final short RES_INVALID
public static final short RES_RP_INVALID
public static final short RES_CLEAR_UNREAD_PART_SUCCESS
public static final short RES_TEAM_ECOUNT_LIMIT
public static final short RES_TEAM_ENACCESS
public static final short RES_TEAM_ENOTEXIST
public static final short RES_TEAM_EMEMBER_NOTEXIST
public static final short RES_TEAM_ERR_TYPE
public static final short RES_TEAM_LIMIT
public static final short RES_TEAM_USER_STATUS_ERR
public static final short RES_TEAM_APPLY_SUCCESS
public static final short RES_TEAM_ALREADY_IN
public static final short RES_TEAM_INVITE_SUCCESS
public static final short RES_TEAM_INVITE_PART_SUCCESS
public static final short RES_TEAM_INFO_PART_SUCCESS
public static final short RES_EPACKET
public static final short RES_EUNPACKET
public static final short RES_IN_BLACK_LIST
public static final short RES_CHATROOM_IM_LINK_EXCEPTION
public static final short RES_CHATROOM_STATUS_EXCEPTION
public static final short RES_CHATROOM_BLACKLIST
public static final short RES_CHATROOM_MUTED
public static final short RES_CHATROOM_ROOM_MUTED
public static final short RES_PEER_NIM_OFFLINE
public static final short RES_PEER_PUSH_OFFLINE
public static final short RES_CHANNEL_NOT_EXISTS
public static final short RES_CHANNEL_HAS_EXISTS
public static final short RES_CHANNEL_MEMBER_NOT_EXISTS
public static final short RES_CHANNEL_MEMBER_HAS_EXISTS
public static final short RES_INVITE_NOT_EXISTS
public static final short RES_INVITE_HAS_REJECT
public static final short RES_INVITE_HAS_ACCEPT
public static final short RES_JOIN_CHANNEL_UID_CONFLICT
public static final short RES_CHANNEL_MEMBER_EXCEED
public static final short RES_CHANNEL_MEMBER_HAS_EXISTS_OTHER_CLIENT
public static final short RES_CALLBACK_CUSTOM_CODE_MIN
public static final short RES_CALLBACK_CUSTOM_CODE_MAX
public static final short RES_UNKNOWN
public static final short RES_EXCEPTION
public static final short RES_CALLBACK_APP_EXCEPTION
public static final short RES_API_SYNC_TIMEOUT
public static final short RES_API_SYNC_RUN_ON_LOOPER_THREAD_EXCEPTION
public static final short RES_API_SYNC_RUNTIME_EXCEPTION
public static final short RES_OFFLINE
public static final short RES_UNSUPPORT
public static final short RES_REGISTER_PUSH_SDK_FAILED
public static final short DOWNLOAD_EXPIRE_FILE
public static final short USE_INVALID_SCENE
public static final short FILE_NOT_FOUND
public static final short FILE_UPLOAD_ERROR
public static final short RES_REGISTER_PUSH_SDK_TIME_OUT