Chat SDK for Android v1.3.1
agora java chat SDK
Static Public Attributes | List of all members
io.agora.Error Class Reference

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 PARTIAL_SUCCESS = 7
 
static final int APP_ACTIVE_NUMBER_REACH_LIMITATION = 8
 
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 QUERY_PARAM_REACHES_LIMIT = 112
 
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 SERVER_RESPONSE_ILLEGAL = 309
 
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 FILE_IS_EXPIRED = 407
 
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 MESSAGE_SIZE_LIMIT = 510
 
static final int MESSAGE_EDIT_FAILED = 511
 
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 GROUP_MEMBER_ATTRIBUTES_REACH_LIMIT = 609
 
static final int GROUP_MEMBER_ATTRIBUTES_UPDATE_FAILED = 610
 
static final int GROUP_MEMBER_ATTRIBUTES_KEY_REACH_LIMIT = 611
 
static final int GROUP_MEMBER_ATTRIBUTES_VALUE_REACH_LIMIT = 612
 
static final int GROUP_USER_IN_BLOCKLIST = 613
 
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 CHATROOM_OWNER_NOT_ALLOW_LEAVE = 706
 
static final int CHATROOM_USER_IN_BLOCKLIST = 707
 
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 PRESENCE_CANNOT_SUBSCRIBE_YOURSELF = 1101
 
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
 

Detailed Description

The error constant class in the SDK, which defines common error codes in the SDK.

Member Data Documentation

◆ APP_ACTIVE_NUMBER_REACH_LIMITATION

final int io.agora.Error.APP_ACTIVE_NUMBER_REACH_LIMITATION = 8
static

The number of daily active users (DAU) or monthly active users (MAU) for the app has reached the upper limit .

◆ CHANNEL_SYNC_NOT_OPEN

final int io.agora.Error.CHANNEL_SYNC_NOT_OPEN = 106
static

The function of getting conversations from the server has not been activated.

◆ CHATROOM_ALREADY_JOINED

final int io.agora.Error.CHATROOM_ALREADY_JOINED = 701
static

The user is already in the chat room.

◆ CHATROOM_INVALID_ID

final int io.agora.Error.CHATROOM_INVALID_ID = 700
static

The chat room ID is invalid.

◆ CHATROOM_MEMBERS_FULL

final int io.agora.Error.CHATROOM_MEMBERS_FULL = 704
static

The chat room has reached the maximum member capacity.

◆ CHATROOM_NOT_EXIST

final int io.agora.Error.CHATROOM_NOT_EXIST = 705
static

The chat room does not exist.

◆ CHATROOM_NOT_JOINED

final int io.agora.Error.CHATROOM_NOT_JOINED = 702
static

The user is not in the chat room.

◆ CHATROOM_OWNER_NOT_ALLOW_LEAVE

final int io.agora.Error.CHATROOM_OWNER_NOT_ALLOW_LEAVE = 706
static

The owner of chat room is not allow to leave (call leaveChatroom API when canChatroomOwnerLeave option is false).

◆ CHATROOM_PERMISSION_DENIED

final int io.agora.Error.CHATROOM_PERMISSION_DENIED = 703
static

The user does not have the operation permission.

◆ CHATROOM_USER_IN_BLOCKLIST

final int io.agora.Error.CHATROOM_USER_IN_BLOCKLIST = 707
static

The user is in the chat room blacklist.

◆ CONTACT_ADD_FAILED

final int io.agora.Error.CONTACT_ADD_FAILED = 1000
static

Failed to add a contact.

◆ CONTACT_REACH_LIMIT

final int io.agora.Error.CONTACT_REACH_LIMIT = 1001
static

The inviter has reached the maximum number of contacts that can be added.

◆ CONTACT_REACH_LIMIT_PEER

final int io.agora.Error.CONTACT_REACH_LIMIT_PEER = 1002
static

The invitee has reached the maximum number of contacts that can be added.

◆ DATABASE_ERROR

final int io.agora.Error.DATABASE_ERROR = 3
static

A database operation fails.

◆ EM_NO_ERROR

final int io.agora.Error.EM_NO_ERROR = 0
static

No error.

◆ EXCEED_SERVICE_LIMIT

final int io.agora.Error.EXCEED_SERVICE_LIMIT = 4
static

The service limit is exceeded.

◆ FILE_CONTENT_IMPROPER

final int io.agora.Error.FILE_CONTENT_IMPROPER = 406
static

The file contains improper content.

◆ FILE_DELETE_FAILED

final int io.agora.Error.FILE_DELETE_FAILED = 404
static

The file deletion fails.

◆ FILE_DOWNLOAD_FAILED

final int io.agora.Error.FILE_DOWNLOAD_FAILED = 403
static

The file download fails.

◆ FILE_INVALID

final int io.agora.Error.FILE_INVALID = 401
static

The file is invalid.

◆ FILE_IS_EXPIRED

final int io.agora.Error.FILE_IS_EXPIRED = 407
static

The file is expired.

◆ FILE_NOT_FOUND

final int io.agora.Error.FILE_NOT_FOUND = 400
static

The file is not found.

◆ FILE_TOO_LARGE

final int io.agora.Error.FILE_TOO_LARGE = 405
static

The file is too large.

◆ FILE_UPLOAD_FAILED

final int io.agora.Error.FILE_UPLOAD_FAILED = 402
static

The file upload fails.

◆ GENERAL_ERROR

final int io.agora.Error.GENERAL_ERROR = 1
static

The general error occurs.

Undefined errors are generally thrown with this error code.

◆ GROUP_ALREADY_JOINED

final int io.agora.Error.GROUP_ALREADY_JOINED = 601
static

The user is already in the group.

◆ GROUP_DISABLED

final int io.agora.Error.GROUP_DISABLED = 607
static

The group is disabled.

◆ GROUP_INVALID_ID

final int io.agora.Error.GROUP_INVALID_ID = 600
static

The group ID is incorrect.

◆ GROUP_MEMBER_ATTRIBUTES_KEY_REACH_LIMIT

final int io.agora.Error.GROUP_MEMBER_ATTRIBUTES_KEY_REACH_LIMIT = 611
static

The key of a custom attribute(s) of the group member has exceeded the maximum allowed length of 16 bytes.

◆ GROUP_MEMBER_ATTRIBUTES_REACH_LIMIT

final int io.agora.Error.GROUP_MEMBER_ATTRIBUTES_REACH_LIMIT = 609
static

The total length of custom attributes of the group member has exceeded the upper limit (4 KB).

◆ GROUP_MEMBER_ATTRIBUTES_UPDATE_FAILED

final int io.agora.Error.GROUP_MEMBER_ATTRIBUTES_UPDATE_FAILED = 610
static

Fails to set the custom attribute(s) of the group member.

◆ GROUP_MEMBER_ATTRIBUTES_VALUE_REACH_LIMIT

final int io.agora.Error.GROUP_MEMBER_ATTRIBUTES_VALUE_REACH_LIMIT = 612
static

The value of a custom attribute(s) of the group member has exceeded the maximum allowed length of 512 bytes.

◆ GROUP_MEMBERS_FULL

final int io.agora.Error.GROUP_MEMBERS_FULL = 604
static

The group has reached the maximum member capacity.

◆ GROUP_NAME_VIOLATION

final int io.agora.Error.GROUP_NAME_VIOLATION = 608
static

The group name is inappropriate.

◆ GROUP_NOT_EXIST

final int io.agora.Error.GROUP_NOT_EXIST = 606
static

The group does not exist.

◆ GROUP_NOT_JOINED

final int io.agora.Error.GROUP_NOT_JOINED = 602
static

The user is not in the group.

◆ GROUP_PERMISSION_DENIED

final int io.agora.Error.GROUP_PERMISSION_DENIED = 603
static

The user does not have group operation permissions.

◆ GROUP_SHARED_FILE_INVALIDID

final int io.agora.Error.GROUP_SHARED_FILE_INVALIDID = 605
static

The group shared file ID is invalid.

◆ GROUP_USER_IN_BLOCKLIST

final int io.agora.Error.GROUP_USER_IN_BLOCKLIST = 613
static

The user is in the group blacklist.

◆ INVALID_APP_KEY

final int io.agora.Error.INVALID_APP_KEY = 100
static

The App Key is invalid.

◆ INVALID_CONVERSATION

final int io.agora.Error.INVALID_CONVERSATION = 107
static

Invalid conversation.

◆ INVALID_PARAM

final int io.agora.Error.INVALID_PARAM = 110
static

The parameter is invalid.

◆ INVALID_PASSWORD

final int io.agora.Error.INVALID_PASSWORD = 102
static

The password is invalid.

◆ INVALID_TOKEN

final int io.agora.Error.INVALID_TOKEN = 104
static

The token is invalid.

◆ INVALID_URL

final int io.agora.Error.INVALID_URL = 103
static

The URL is invalid.

◆ INVALID_USER_NAME

final int io.agora.Error.INVALID_USER_NAME = 101
static

The user ID is invalid.

◆ MESSAGE_CURRENT_LIMITING

final int io.agora.Error.MESSAGE_CURRENT_LIMITING = 509
static

You have exceeded the maximum frequency of sending group messages.

◆ MESSAGE_EDIT_FAILED

final int io.agora.Error.MESSAGE_EDIT_FAILED = 511
static

The message modification failed.

◆ MESSAGE_ENCRYPTION_ERROR

final int io.agora.Error.MESSAGE_ENCRYPTION_ERROR = 503
static

The message encryption/decryption error.

◆ MESSAGE_EXPIRED

final int io.agora.Error.MESSAGE_EXPIRED = 506
static

The message has expired.

◆ MESSAGE_EXTERNAL_LOGIC_BLOCKED

final int io.agora.Error.MESSAGE_EXTERNAL_LOGIC_BLOCKED = 508
static

A message is blocked by pre-delivery callback.

◆ MESSAGE_ILLEGAL_WHITELIST

final int io.agora.Error.MESSAGE_ILLEGAL_WHITELIST = 507
static

All members in a group or chat room are muted and the current user is not on the allow list.

◆ MESSAGE_INCLUDE_ILLEGAL_CONTENT

final int io.agora.Error.MESSAGE_INCLUDE_ILLEGAL_CONTENT = 501
static

The message contains invalid content or sensitive words.

◆ MESSAGE_INVALID

final int io.agora.Error.MESSAGE_INVALID = 500
static

The message is invalid.

◆ MESSAGE_RECALL_TIME_LIMIT

final int io.agora.Error.MESSAGE_RECALL_TIME_LIMIT = 504
static

The message recall times out.

◆ MESSAGE_SEND_TRAFFIC_LIMIT

final int io.agora.Error.MESSAGE_SEND_TRAFFIC_LIMIT = 502
static

The traffic limit for message sending is exceeded.

◆ MESSAGE_SIZE_LIMIT

final int io.agora.Error.MESSAGE_SIZE_LIMIT = 510
static

You have exceeded the maximum allowed size of a message body.

◆ MODERATION_FAILED

final int io.agora.Error.MODERATION_FAILED = 1200
static

The third-party content moderation service rates the message as "Reject".

◆ NETWORK_ERROR

final int io.agora.Error.NETWORK_ERROR = 2
static

A network error occurs.

◆ OPERATION_UNSUPPORTED

final int io.agora.Error.OPERATION_UNSUPPORTED = 111
static

The operation is not supported.

◆ PARTIAL_SUCCESS

final int io.agora.Error.PARTIAL_SUCCESS = 7
static

request success but had some error value

◆ PRESENCE_CANNOT_SUBSCRIBE_YOURSELF

final int io.agora.Error.PRESENCE_CANNOT_SUBSCRIBE_YOURSELF = 1101
static

Presence can't subscribe yourself.

◆ PRESENCE_PARAM_LENGTH_EXCEED

final int io.agora.Error.PRESENCE_PARAM_LENGTH_EXCEED = 1100
static

The parameter length of the presence method exceeds the upper limit.

◆ PUSH_BIND_FAILED

final int io.agora.Error.PUSH_BIND_FAILED = 1501
static

Fails to bind the push token.

◆ PUSH_NOT_SUPPORT

final int io.agora.Error.PUSH_NOT_SUPPORT = 1500
static

The current device does not support push.

◆ PUSH_REPORT_ACTION_FAILED

final int io.agora.Error.PUSH_REPORT_ACTION_FAILED = 6
static

Fails to report push information to the server.

◆ PUSH_UNBIND_FAILED

final int io.agora.Error.PUSH_UNBIND_FAILED = 1502
static

Fails to unbind the push token.

◆ QUERY_PARAM_REACHES_LIMIT

final int io.agora.Error.QUERY_PARAM_REACHES_LIMIT = 112
static

Query param reaches limit

◆ REACTION_HAS_BEEN_OPERATED

final int io.agora.Error.REACTION_HAS_BEEN_OPERATED = 1301
static

The Reaction already exists.

◆ REACTION_OPERATION_IS_ILLEGAL

final int io.agora.Error.REACTION_OPERATION_IS_ILLEGAL = 1302
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.

◆ REACTION_REACH_LIMIT

final int io.agora.Error.REACTION_REACH_LIMIT = 1300
static

The number of Reactions has reached the upper limit.

◆ SERVER_BUSY

final int io.agora.Error.SERVER_BUSY = 302
static

The server is busy.

◆ SERVER_DECRYPTION_FAILED

final int io.agora.Error.SERVER_DECRYPTION_FAILED = 306
static

Server transfer decryption failed.

◆ SERVER_GET_DNSLIST_FAILED

final int io.agora.Error.SERVER_GET_DNSLIST_FAILED = 304
static

Fails to get the DNS server list.

◆ SERVER_NOT_REACHABLE

final int io.agora.Error.SERVER_NOT_REACHABLE = 300
static

Unable to access the server.

◆ SERVER_RESPONSE_ILLEGAL

final int io.agora.Error.SERVER_RESPONSE_ILLEGAL = 309
static

The server returns data in an incorrect format.

◆ SERVER_SERVICE_RESTRICTED

final int io.agora.Error.SERVER_SERVICE_RESTRICTED = 305
static

The chat function is restricted.

◆ SERVER_TIMEOUT

final int io.agora.Error.SERVER_TIMEOUT = 301
static

The server response times out.

◆ SERVER_UNKNOWN_ERROR

final int io.agora.Error.SERVER_UNKNOWN_ERROR = 303
static

An unknown server error.

◆ SERVICE_ARREARAGES

final int io.agora.Error.SERVICE_ARREARAGES = 5
static

The balance is insufficient.

◆ SERVICE_NOT_ENABLED

final int io.agora.Error.SERVICE_NOT_ENABLED = 505
static

The service is not enabled.

◆ THIRD_SERVER_FAILED

final int io.agora.Error.THIRD_SERVER_FAILED = 1299
static

Another third-party moderation service rather than the third-party content moderation service rates the message as "Reject".

◆ THREAD_ALREADY_EXIST

final int io.agora.Error.THREAD_ALREADY_EXIST = 1401
static

The message thread you are attempting to create already exists in a chat group.

◆ THREAD_CREATE_MESSAGE_ILLEGAL

final int io.agora.Error.THREAD_CREATE_MESSAGE_ILLEGAL = 1402
static

The parent message of the message thread is invalid.

◆ THREAD_NOT_EXIST

final int io.agora.Error.THREAD_NOT_EXIST = 1400
static

The message thread does not exist.

◆ TOKEN_EXPIRED

final int io.agora.Error.TOKEN_EXPIRED = 108
static

The token has expired.

◆ TOKEN_WILL_EXPIRE

final int io.agora.Error.TOKEN_WILL_EXPIRE = 109
static

The token is about to expire.

◆ TRANSLATE_FAIL

final int io.agora.Error.TRANSLATE_FAIL = 904
static

Translation failure.

Deprecated:

◆ TRANSLATE_INVALID_PARAMS

final int io.agora.Error.TRANSLATE_INVALID_PARAMS = 903
static

Invalid translation parameters.

Deprecated:
Deprecated. Use TRANSLATE_PARAM_INVALID instead.

◆ TRANSLATE_MESSAGE_FAIL

final int io.agora.Error.TRANSLATE_MESSAGE_FAIL = 1113
static

Failed to obtain the translation service.

◆ TRANSLATE_NOT_INIT

final int io.agora.Error.TRANSLATE_NOT_INIT = 905
static

The translation is not initialized.

Deprecated:

◆ TRANSLATE_PARAM_INVALID

final int io.agora.Error.TRANSLATE_PARAM_INVALID = 1110
static

Translation parameter error.

◆ TRANSLATE_SERVICE_NOT_ENABLE

final int io.agora.Error.TRANSLATE_SERVICE_NOT_ENABLE = 1111
static

The translation service has not been enabled.

◆ TRANSLATE_USAGE_LIMIT

final int io.agora.Error.TRANSLATE_USAGE_LIMIT = 1112
static

You have reached the maximum number of characters for translation.

◆ USER_ALREADY_EXIST

final int io.agora.Error.USER_ALREADY_EXIST = 203
static

The user already exists.

◆ USER_ALREADY_LOGIN

final int io.agora.Error.USER_ALREADY_LOGIN = 200
static

The user is already logged in.

◆ USER_ALREADY_LOGIN_ANOTHER

final int io.agora.Error.USER_ALREADY_LOGIN_ANOTHER = 218
static

The other user has already logged in.

◆ USER_AUTHENTICATION_FAILED

final int io.agora.Error.USER_AUTHENTICATION_FAILED = 202
static

The user ID or password is incorrect.

◆ USER_BIND_ANOTHER_DEVICE

final int io.agora.Error.USER_BIND_ANOTHER_DEVICE = 213
static

The user is bound to another device and automatic login is not allowed.

◆ USER_BINDDEVICETOKEN_FAILED

final int io.agora.Error.USER_BINDDEVICETOKEN_FAILED = 211
static

Fails to bind the device token.

◆ USER_DEVICE_CHANGED

final int io.agora.Error.USER_DEVICE_CHANGED = 220
static

The current login device is not the same as last time and you need to log in again.

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.

◆ USER_ILLEGAL_ARGUMENT

final int io.agora.Error.USER_ILLEGAL_ARGUMENT = 205
static

Invalid parameter.

◆ USER_KICKED_BY_CHANGE_PASSWORD

final int io.agora.Error.USER_KICKED_BY_CHANGE_PASSWORD = 216
static

The user has changed the password.

◆ USER_KICKED_BY_OTHER_DEVICE

final int io.agora.Error.USER_KICKED_BY_OTHER_DEVICE = 217
static

The user is kicked off from another device.

◆ USER_LOGIN_ANOTHER_DEVICE

final int io.agora.Error.USER_LOGIN_ANOTHER_DEVICE = 206
static

The user is logged in from another device.

◆ USER_LOGIN_TOO_MANY_DEVICES

final int io.agora.Error.USER_LOGIN_TOO_MANY_DEVICES = 214
static

The user has logged in on too many devices.

◆ USER_MUTED

final int io.agora.Error.USER_MUTED = 215
static

The user is muted in the chat group or chat room.

◆ USER_MUTED_BY_ADMIN

final int io.agora.Error.USER_MUTED_BY_ADMIN = 219
static

The user is muted by the admin.

◆ USER_NAME_TOO_LONG

final int io.agora.Error.USER_NAME_TOO_LONG = 105
static

The user ID is too long.

◆ USER_NOT_FOUND

final int io.agora.Error.USER_NOT_FOUND = 204
static

The user is not found.

◆ USER_NOT_LOGIN

final int io.agora.Error.USER_NOT_LOGIN = 201
static

The user is not logged in.

◆ USER_NOT_ON_ROSTER

final int io.agora.Error.USER_NOT_ON_ROSTER = 221
static

The user is not on your contact list and you cannot send messages to the user, or some other friend related operations to the user.

By default, you can send messages to strangers.

This error will be reported only when you have turned on the function of allowing you to send messages only to your contacts.

◆ USER_PERMISSION_DENIED

final int io.agora.Error.USER_PERMISSION_DENIED = 210
static

The user has no operation permission.

◆ USER_REG_FAILED

final int io.agora.Error.USER_REG_FAILED = 208
static

The user registration fails.

◆ USER_REMOVED

final int io.agora.Error.USER_REMOVED = 207
static

The user is removed from the server.

◆ USER_UNBIND_DEVICETOKEN_FAILED

final int io.agora.Error.USER_UNBIND_DEVICETOKEN_FAILED = 212
static

Fails to unbind the device token.

◆ USER_UPDATEINFO_FAILED

final int io.agora.Error.USER_UPDATEINFO_FAILED = 209
static

Fails to update user information.

◆ USERINFO_DATALENGTH_EXCEED

final int io.agora.Error.USERINFO_DATALENGTH_EXCEED = 901
static

The length of the updated user information exceeds the upper limit.

◆ USERINFO_USERCOUNT_EXCEED

final int io.agora.Error.USERINFO_USERCOUNT_EXCEED = 900
static

The number of users for user information retrieval exceeds the upper limit.


The documentation for this class was generated from the following file: