agora_chat_SDK  3.8.2
agorajavachatSDK
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 EXCEED_SERVICE_LIMIT = 4
 
static final int SERVICE_ARREARAGES = 5
 
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 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 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 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 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_NOT_EXIST = 605
 
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 PUSH_NOT_SUPPORT = 900
 
static final int PUSH_BIND_FAILED = 901
 
static final int PUSH_UNBIND_FAILED = 902
 

Detailed Description

Error constant class in SDK Defines error codes commonly used in SDK

Member Data Documentation

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

User already has joined the chatroom

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

Invalid chatroom id

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

Chatroom capacity reached

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

Chatroom does not exist

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

User has not joined the chatroom

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

User has no permission for the operation

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

No error

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

Exceed to service limit

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

File content improper

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

File delete failed

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

File downloading failed

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

Invalid file

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

File does not exist

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

File too large

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

File uploading failed

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

General error, not defined errors are generally thrown with this error code

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

Already joined group

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

Invalid group id

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

Group capacity reached

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

Group does not exist

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

User has not joined the group

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

User has no permission for the operation

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

App key is invalid

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

Password is invalid

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

Invalid token

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

Url is invalid

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

Username is invalid

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

Message encryption error

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

Message has expired

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

Message was blocked by pre-delivery webhook

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

All member muted, user is not in white list

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

Message include illegal content

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

Invalid message

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

Message recall timeout

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

Message is sent too rapidly, triggering rate limit

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

Network not available

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

Push token bind failed

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

Current device don't support push

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

Push token unbind failed

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

Server is busy

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

Get DNS list failed

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

Server is not reachable

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

Service is restricted

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

Waiting for server response timeout

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

Unknown server error

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

Need charge for service

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

Service not enabled

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

User already exist

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

User already logged in

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

Username or password is wrong

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

Bind another device and do not allow auto login

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

Device token binding failed

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

Illegal argument

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

User has changed the password

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

User was kicked by other device or console backend

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

User already logged in on another device

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

User login on too many devices

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

User are muted in groups or chatrooms

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

Username too long

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

user does not exist

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

User has not login

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

User has no permission for the operation

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

Registration failed

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

User has been removed from server

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

Device token unbinding failed

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

Update user info failed


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