agora_chat_SDK 1.0.6
agora java chat SDK
|
Static Public Attributes | |
static final int | EM_NO_ERROR = 0 |
static final int | GENERAL_ERROR = 1 |
static final int | NETWORK_ERROR = 2 |
static final int | DATABASE_ERROR = 3 |
static final int | EXCEED_SERVICE_LIMIT = 4 |
static final int | SERVICE_ARREARAGES = 5 |
static final int | PUSH_REPORT_ACTION_FAILED = 6 |
static final int | INVALID_APP_KEY = 100 |
static final int | INVALID_USER_NAME = 101 |
static final int | INVALID_PASSWORD = 102 |
static final int | INVALID_URL = 103 |
static final int | INVALID_TOKEN = 104 |
static final int | USER_NAME_TOO_LONG = 105 |
static final int | CHANNEL_SYNC_NOT_OPEN = 106 |
static final int | INVALID_CONVERSATION = 107 |
static final int | TOKEN_EXPIRED = 108 |
static final int | TOKEN_WILL_EXPIRE = 109 |
static final int | INVALID_PARAM = 110 |
static final int | OPERATION_UNSUPPORTED = 111 |
static final int | USER_ALREADY_LOGIN = 200 |
static final int | USER_NOT_LOGIN = 201 |
static final int | USER_AUTHENTICATION_FAILED = 202 |
static final int | USER_ALREADY_EXIST = 203 |
static final int | USER_NOT_FOUND = 204 |
static final int | USER_ILLEGAL_ARGUMENT = 205 |
static final int | USER_LOGIN_ANOTHER_DEVICE = 206 |
static final int | USER_REMOVED = 207 |
static final int | USER_REG_FAILED = 208 |
static final int | USER_UPDATEINFO_FAILED = 209 |
static final int | USER_PERMISSION_DENIED = 210 |
static final int | USER_BINDDEVICETOKEN_FAILED = 211 |
static final int | USER_UNBIND_DEVICETOKEN_FAILED = 212 |
static final int | USER_BIND_ANOTHER_DEVICE = 213 |
static final int | USER_LOGIN_TOO_MANY_DEVICES = 214 |
static final int | USER_MUTED = 215 |
static final int | USER_KICKED_BY_CHANGE_PASSWORD = 216 |
static final int | USER_KICKED_BY_OTHER_DEVICE = 217 |
static final int | USER_ALREADY_LOGIN_ANOTHER = 218 |
static final int | USER_MUTED_BY_ADMIN = 219 |
static final int | USER_DEVICE_CHANGED = 220 |
static final int | USER_NOT_ON_ROSTER = 221 |
static final int | SERVER_NOT_REACHABLE = 300 |
static final int | SERVER_TIMEOUT = 301 |
static final int | SERVER_BUSY = 302 |
static final int | SERVER_UNKNOWN_ERROR = 303 |
static final int | SERVER_GET_DNSLIST_FAILED = 304 |
static final int | SERVER_SERVICE_RESTRICTED = 305 |
static final int | SERVER_DECRYPTION_FAILED = 306 |
static final int | FILE_NOT_FOUND = 400 |
static final int | FILE_INVALID = 401 |
static final int | FILE_UPLOAD_FAILED = 402 |
static final int | FILE_DOWNLOAD_FAILED = 403 |
static final int | FILE_DELETE_FAILED = 404 |
static final int | FILE_TOO_LARGE = 405 |
static final int | FILE_CONTENT_IMPROPER = 406 |
static final int | MESSAGE_INVALID = 500 |
static final int | MESSAGE_INCLUDE_ILLEGAL_CONTENT = 501 |
static final int | MESSAGE_SEND_TRAFFIC_LIMIT = 502 |
static final int | MESSAGE_ENCRYPTION_ERROR = 503 |
static final int | MESSAGE_RECALL_TIME_LIMIT = 504 |
static final int | SERVICE_NOT_ENABLED = 505 |
static final int | MESSAGE_EXPIRED = 506 |
static final int | MESSAGE_ILLEGAL_WHITELIST = 507 |
static final int | MESSAGE_EXTERNAL_LOGIC_BLOCKED = 508 |
static final int | MESSAGE_CURRENT_LIMITING = 509 |
static final int | GROUP_INVALID_ID = 600 |
static final int | GROUP_ALREADY_JOINED = 601 |
static final int | GROUP_NOT_JOINED = 602 |
static final int | GROUP_PERMISSION_DENIED = 603 |
static final int | GROUP_MEMBERS_FULL = 604 |
static final int | GROUP_SHARED_FILE_INVALIDID = 605 |
static final int | GROUP_NOT_EXIST = 606 |
static final int | GROUP_DISABLED = 607 |
static final int | GROUP_NAME_VIOLATION = 608 |
static final int | CHATROOM_INVALID_ID = 700 |
static final int | CHATROOM_ALREADY_JOINED = 701 |
static final int | CHATROOM_NOT_JOINED = 702 |
static final int | CHATROOM_PERMISSION_DENIED = 703 |
static final int | CHATROOM_MEMBERS_FULL = 704 |
static final int | CHATROOM_NOT_EXIST = 705 |
static final int | USERINFO_USERCOUNT_EXCEED = 900 |
static final int | USERINFO_DATALENGTH_EXCEED = 901 |
static final int | TRANSLATE_INVALID_PARAMS = 903 |
static final int | TRANSLATE_FAIL = 904 |
static final int | TRANSLATE_NOT_INIT = 905 |
static final int | CONTACT_ADD_FAILED = 1000 |
static final int | CONTACT_REACH_LIMIT = 1001 |
static final int | CONTACT_REACH_LIMIT_PEER = 1002 |
static final int | PRESENCE_PARAM_LENGTH_EXCEED = 1100 |
static final int | TRANSLATE_PARAM_INVALID = 1110 |
static final int | TRANSLATE_SERVICE_NOT_ENABLE = 1111 |
static final int | TRANSLATE_USAGE_LIMIT = 1112 |
static final int | TRANSLATE_MESSAGE_FAIL = 1113 |
static final int | MODERATION_FAILED = 1200 |
static final int | THIRD_SERVER_FAILED = 1299 |
static final int | REACTION_REACH_LIMIT = 1300 |
static final int | REACTION_HAS_BEEN_OPERATED = 1301 |
static final int | REACTION_OPERATION_IS_ILLEGAL = 1302 |
static final int | THREAD_NOT_EXIST = 1400 |
static final int | THREAD_ALREADY_EXIST = 1401 |
static final int | THREAD_CREATE_MESSAGE_ILLEGAL = 1402 |
static final int | PUSH_NOT_SUPPORT = 1500 |
static final int | PUSH_BIND_FAILED = 1501 |
static final int | PUSH_UNBIND_FAILED = 1502 |
The error constant class in the SDK. Defines error codes commonly used in the SDK.
|
static |
The function of fetching conversations from server is not open.
|
static |
The user is already in the chat room.
|
static |
The chat room ID is invalid.
|
static |
The chat room has reached the maximum member capacity.
|
static |
The chat room does not exist.
|
static |
The user is not in the chat room.
|
static |
The user does not have the operation permission.
|
static |
添加联系人失败。
Failed to add a contact
|
static |
The number of inviter friends reached the upper limit.
|
static |
The number of invitees' friends reached the upper limit.
|
static |
A database operation fails.
|
static |
No error.
|
static |
You have exceeded the service limit.
|
static |
The file contains improper content.
|
static |
The file deletion fails.
|
static |
The file download fails.
|
static |
The file is invalid.
|
static |
The file is not found.
|
static |
The file is too large.
|
static |
The file upload fails.
|
static |
The general error. Undefined errors are generally thrown with this error code.
|
static |
The user is already in the group.
|
static |
Group is disable.
|
static |
The group ID is incorrect.
|
static |
The group has reached the maximum member capacity.
|
static |
Group name Violation.
|
static |
The group does not exist.
|
static |
The user is not in the group.
|
static |
The user does not have group operation permissions.
|
static |
The group shared file ID is invalid.
|
static |
The app key is invalid.
|
static |
Invalid conversation.
|
static |
The parameter is invalid.
|
static |
The password is invalid.
|
static |
The token is invalid.
|
static |
The URL is invalid.
|
static |
The user ID is invalid.
|
static |
The message current limiting.
|
static |
The message encryption/decryption error.
|
static |
The message has expired.
|
static |
A message is blocked by pre-delivery callback.
|
static |
All members in a group or chat room are muted and the current user is not on the allowlist.
|
static |
The message contains invalid content or sensitive words.
|
static |
The message is invalid.
|
static |
The message recall times out.
|
static |
The traffic limit for message sending is exceeded.
|
static |
The service is forbidden.
|
static |
A network error occurs.
|
static |
Operation not support.
|
static |
The parameter length of the presence method exceeded the upper limit.
|
static |
Fails to bind the push token.
|
static |
The current device does not support push.
|
static |
Fails to report push information to the server.
|
static |
Fails to unbind the push token.
|
static |
The Reaction already exists.
|
static |
The user does not have the permission for the Reaction operation. For example, the user who does not add the reaction attempts to delete it, or the user that is neither the sender nor recipient of the one-to-one message attempts to add the Reaction.
|
static |
The number of Reactions has reached the upper limit.
|
static |
The server is busy.
|
static |
Server transfer decryption failed.
|
static |
Fails to get the DNS server list.
|
static |
Unable to access the server.
|
static |
The chat function is restricted.
|
static |
The server response times out.
|
static |
An unknown server error.
|
static |
The balance is insufficient.
|
static |
The service is not enabled.
|
static |
The service is forbidden.
|
static |
Chat thread already exist.
|
static |
The message to create chat thread is invalid.
|
static |
Chat thread don't exist.
|
static |
The Agora token has expired.
|
static |
The Agora token is about to expire.
|
static |
Translation failure.
|
static |
Invalid translation parameters.
|
static |
Failed to obtain the translation service.
|
static |
The translation is not initialized.
|
static |
Translation parameter error.
|
static |
The translation service is not enabled.
|
static |
The translation usage reached the upper limit.
|
static |
The user already exists.
|
static |
The user is already logged in.
|
static |
Another user is already logged in.
|
static |
The user ID or password is incorrect.
|
static |
The user is bound to another device and automatic login is not allowed.
|
static |
Fails to bind the device token.
|
static |
The current login device is not the same as last time and you need to log in again. Note: By default, the user is allowed to log in to the current device, but will be kicked off from another device. This method works only when the switch of not kicking off users from other devices is turned on.
|
static |
Invalid parameter.
|
static |
The user has changed the password.
|
static |
The user is kicked off from another device.
|
static |
The user has logged in from another device.
|
static |
The user is logged in on too many devices.
|
static |
The user is muted in the chat group or chat room.
|
static |
The user is muted by the admin.
|
static |
The username is too long.
|
static |
The user is not found.
|
static |
The user is not logged in.
|
static |
User is not your friend, can not send message Note: By default, you can send messages to strangers. You need to turn on the function that only friends can send messages before this error will be reported.
|
static |
The user has no operation permission.
|
static |
The user registration fails.
|
static |
The user is removed from the server.
|
static |
Fails to unbind the device token.
|
static |
Fails to update user information.
|
static |
The length of the updated user information exceeds the upper limit.
|
static |
The number of query user information exceeds the upper limit.