hyphenate_SDK3.0  3.8.1
hyphenatejavaIMSDK
静态 Public 属性 | 所有成员列表
com.hyphenate.EMError类 参考

静态 Public 属性

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 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 CALL_INVALID_ID = 800
 
static final int CALL_BUSY = 801
 
static final int CALL_REMOTE_OFFLINE = 802
 
static final int CALL_CONNECTION_ERROR = 803
 
static final int CALL_CONFERENCE_CREATE_FAILED = 804
 
static final int CALL_CONFERENCE_CANCEL = 805
 
static final int CALL_ALREADY_JOIN = 806
 
static final int CALL_ALREADY_PUB = 807
 
static final int CALL_ALREADY_SUB = 808
 
static final int CALL_NO_SESSION = 809
 
static final int CALL_NO_PUBLISH = 810
 
static final int CALL_NO_SUBSCRIBE = 811
 
static final int CALL_NO_STREAM = 812
 
static final int CALL_TICKET_INVALID = 813
 
static final int CALL_TICKET_EXPIRED = 814
 
static final int CALL_SESSION_EXPIRED = 815
 
static final int CALL_CONFERENCE_NO_EXIST = 816
 
static final int CALL_INVALID_CAMERA_INDEX = 817
 
static final int CALL_INVALID_PARAMS = 818
 
static final int CALL_CONNECTION_TIMEOUT = 819
 
static final int CALL_JOIN_TIMEOUT = 820
 
static final int CALL_OTHER_DEVICE = 821
 
static final int CALL_CONFERENCE_DISMISS = 822
 
static final int CALL_TALKER_ISFULL = 823
 
static final int CALL_VIDEO_ISFUll = 824
 
static final int CALL_PUSHCDN_ERROR = 825
 
static final int PUSH_NOT_SUPPORT = 900
 
static final int PUSH_BIND_FAILED = 901
 
static final int PUSH_UNBIND_FAILED = 902
 

类成员变量说明

final int com.hyphenate.EMError.CALL_ALREADY_JOIN = 806
static

已经加入

final int com.hyphenate.EMError.CALL_ALREADY_PUB = 807
static

已经 Publish

final int com.hyphenate.EMError.CALL_ALREADY_SUB = 808
static

已经 Subscribe

final int com.hyphenate.EMError.CALL_BUSY = 801
static

正在通话中

final int com.hyphenate.EMError.CALL_CONFERENCE_CANCEL = 805
static

会议取消

english conference cancel

final int com.hyphenate.EMError.CALL_CONFERENCE_CREATE_FAILED = 804
static

会议创建失败

english conference create failed

final int com.hyphenate.EMError.CALL_CONFERENCE_DISMISS = 822
static

会议解散

final int com.hyphenate.EMError.CALL_CONFERENCE_NO_EXIST = 816
static

会议不存在或者已经解散

final int com.hyphenate.EMError.CALL_CONNECTION_ERROR = 803
static

建立连接失败

final int com.hyphenate.EMError.CALL_CONNECTION_TIMEOUT = 819
static

通话连接超时

final int com.hyphenate.EMError.CALL_INVALID_CAMERA_INDEX = 817
static

无效的摄像头编号

final int com.hyphenate.EMError.CALL_INVALID_ID = 800
static

callid无效

final int com.hyphenate.EMError.CALL_INVALID_PARAMS = 818
static

无效的会议参数

final int com.hyphenate.EMError.CALL_JOIN_TIMEOUT = 820
static

通话加入超时

final int com.hyphenate.EMError.CALL_NO_PUBLISH = 810
static

没有 Publish

final int com.hyphenate.EMError.CALL_NO_SESSION = 809
static

没有 Session

final int com.hyphenate.EMError.CALL_NO_STREAM = 812
static

没有 Stream

final int com.hyphenate.EMError.CALL_NO_SUBSCRIBE = 811
static

没有 Subscribe

final int com.hyphenate.EMError.CALL_OTHER_DEVICE = 821
static

通过其他设备加入会议

final int com.hyphenate.EMError.CALL_PUSHCDN_ERROR = 825
static

CDN推流错误

final int com.hyphenate.EMError.CALL_REMOTE_OFFLINE = 802
static

对方不在线

final int com.hyphenate.EMError.CALL_SESSION_EXPIRED = 815
static

会议会话过期

final int com.hyphenate.EMError.CALL_TALKER_ISFULL = 823
static

主播已满

final int com.hyphenate.EMError.CALL_TICKET_EXPIRED = 814
static

会议 Ticket 过期

final int com.hyphenate.EMError.CALL_TICKET_INVALID = 813
static

会议 Ticket 无效

final int com.hyphenate.EMError.CALL_VIDEO_ISFUll = 824
static

视频数已经达到上限

final int com.hyphenate.EMError.CHATROOM_ALREADY_JOINED = 701
static

已经在此聊天室里

final int com.hyphenate.EMError.CHATROOM_INVALID_ID = 700
static

聊天室id不正确

final int com.hyphenate.EMError.CHATROOM_MEMBERS_FULL = 704
static

聊天室成员已满

final int com.hyphenate.EMError.CHATROOM_NOT_EXIST = 705
static

聊天室不存在

final int com.hyphenate.EMError.CHATROOM_NOT_JOINED = 702
static

尚未加入此聊天室

final int com.hyphenate.EMError.CHATROOM_PERMISSION_DENIED = 703
static

聊天室权限不够

final int com.hyphenate.EMError.EM_NO_ERROR = 0
static

无错误

final int com.hyphenate.EMError.EXCEED_SERVICE_LIMIT = 4
static

服务受限

final int com.hyphenate.EMError.FILE_CONTENT_IMPROPER = 406
static

文件内容不合规

final int com.hyphenate.EMError.FILE_DELETE_FAILED = 404
static

文件删除失败

final int com.hyphenate.EMError.FILE_DOWNLOAD_FAILED = 403
static

文件下载失败

final int com.hyphenate.EMError.FILE_INVALID = 401
static

文件不合法

final int com.hyphenate.EMError.FILE_NOT_FOUND = 400
static

文件不存在

final int com.hyphenate.EMError.FILE_TOO_LARGE = 405
static

文件太大

final int com.hyphenate.EMError.FILE_UPLOAD_FAILED = 402
static

文件上传失败

final int com.hyphenate.EMError.GENERAL_ERROR = 1
static

一般错误,未细分的错误一般通过此errorcode抛出来

final int com.hyphenate.EMError.GROUP_ALREADY_JOINED = 601
static

已经加入的群组

final int com.hyphenate.EMError.GROUP_INVALID_ID = 600
static

群id不正确

final int com.hyphenate.EMError.GROUP_MEMBERS_FULL = 604
static

群成员已满

final int com.hyphenate.EMError.GROUP_NOT_EXIST = 605
static

群组不存在

final int com.hyphenate.EMError.GROUP_NOT_JOINED = 602
static

尚未加入此群组

final int com.hyphenate.EMError.GROUP_PERMISSION_DENIED = 603
static

群组权限不够

final int com.hyphenate.EMError.INVALID_APP_KEY = 100
static

appkey不正确

final int com.hyphenate.EMError.INVALID_PASSWORD = 102
static

密码不正确

final int com.hyphenate.EMError.INVALID_TOKEN = 104
static

token无效

final int com.hyphenate.EMError.INVALID_URL = 103
static

url不正确

final int com.hyphenate.EMError.INVALID_USER_NAME = 101
static

用户id不正确

final int com.hyphenate.EMError.MESSAGE_ENCRYPTION_ERROR = 503
static

消息加解密错误

final int com.hyphenate.EMError.MESSAGE_EXPIRED = 506
static

消息已经过期

final int com.hyphenate.EMError.MESSAGE_ILLEGAL_WHITELIST = 507
static

群组或者聊天室开启了禁言,用户不在白名单中

final int com.hyphenate.EMError.MESSAGE_INCLUDE_ILLEGAL_CONTENT = 501
static

消息内容包含非法或敏感词

final int com.hyphenate.EMError.MESSAGE_INVALID = 500
static

消息不合法

final int com.hyphenate.EMError.MESSAGE_RECALL_TIME_LIMIT = 504
static

消息撤回超时

final int com.hyphenate.EMError.MESSAGE_SEND_TRAFFIC_LIMIT = 502
static

消息发送过快,触发限流

final int com.hyphenate.EMError.NETWORK_ERROR = 2
static

网络异常

final int com.hyphenate.EMError.PUSH_BIND_FAILED = 901
static

Push Token绑定失败

final int com.hyphenate.EMError.PUSH_NOT_SUPPORT = 900
static

当前设备不支持推送

final int com.hyphenate.EMError.PUSH_UNBIND_FAILED = 902
static

Push Token解除绑定失败

final int com.hyphenate.EMError.SERVER_BUSY = 302
static

服务器繁忙

final int com.hyphenate.EMError.SERVER_GET_DNSLIST_FAILED = 304
static

获取dns失败

final int com.hyphenate.EMError.SERVER_NOT_REACHABLE = 300
static

无法访问到服务器

final int com.hyphenate.EMError.SERVER_SERVICE_RESTRICTED = 305
static

IM功能限制

final int com.hyphenate.EMError.SERVER_TIMEOUT = 301
static

等待服务器响应超时

final int com.hyphenate.EMError.SERVER_UNKNOWN_ERROR = 303
static

未知的server异常

final int com.hyphenate.EMError.SERVICE_ARREARAGES = 5
static

余额不足

final int com.hyphenate.EMError.SERVICE_NOT_ENABLED = 505
static

服务未开通

final int com.hyphenate.EMError.USER_ALREADY_EXIST = 203
static

用户已经存在

final int com.hyphenate.EMError.USER_ALREADY_LOGIN = 200
static

用户已登录

final int com.hyphenate.EMError.USER_AUTHENTICATION_FAILED = 202
static

用户id或密码错误

final int com.hyphenate.EMError.USER_BIND_ANOTHER_DEVICE = 213
static

当前帐户已经绑定另外的设备,不允许当前设备自动登录

final int com.hyphenate.EMError.USER_BINDDEVICETOKEN_FAILED = 211
static

绑定设备token失败

final int com.hyphenate.EMError.USER_ILLEGAL_ARGUMENT = 205
static

参数不合法

final int com.hyphenate.EMError.USER_KICKED_BY_CHANGE_PASSWORD = 216
static

用户修改密码

final int com.hyphenate.EMError.USER_KICKED_BY_OTHER_DEVICE = 217
static

用户被其他设备踢掉

final int com.hyphenate.EMError.USER_LOGIN_ANOTHER_DEVICE = 206
static

账户在另外一台设备登录

final int com.hyphenate.EMError.USER_LOGIN_TOO_MANY_DEVICES = 214
static

当前用户登陆的设备数过多

final int com.hyphenate.EMError.USER_MUTED = 215
static

用户在群组和聊天室被禁言

final int com.hyphenate.EMError.USER_NAME_TOO_LONG = 105
static

用户名过长

final int com.hyphenate.EMError.USER_NOT_FOUND = 204
static

不存在此用户

final int com.hyphenate.EMError.USER_NOT_LOGIN = 201
static

用户未登录

final int com.hyphenate.EMError.USER_PERMISSION_DENIED = 210
static

用户没有该操作权限

final int com.hyphenate.EMError.USER_REG_FAILED = 208
static

注册失败

final int com.hyphenate.EMError.USER_REMOVED = 207
static

账户被删除

final int com.hyphenate.EMError.USER_UNBIND_DEVICETOKEN_FAILED = 212
static

解绑设备token失败

final int com.hyphenate.EMError.USER_UPDATEINFO_FAILED = 209
static

更新用户信息失败


该类的文档由以下文件生成: