public static enum RongIMClient.ErrorCode extends java.lang.Enum<RongIMClient.ErrorCode>
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getMessage()
获取错误消息。
|
int |
getValue()
获取错误代码值。
|
static RongIMClient.ErrorCode |
valueOf(int code)
设置错误代码值。
|
static RongIMClient.ErrorCode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RongIMClient.ErrorCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RongIMClient.ErrorCode APP_NOT_CONNECT
public static final RongIMClient.ErrorCode PARAMETER_ERROR
public static final RongIMClient.ErrorCode IPC_DISCONNECT
public static final RongIMClient.ErrorCode UNKNOWN
public static final RongIMClient.ErrorCode CONNECTED
public static final RongIMClient.ErrorCode MSG_SEND_OVERFREQUENCY
public static final RongIMClient.ErrorCode RC_OPERATION_BLOCKED
public static final RongIMClient.ErrorCode RC_OPERATION_NOT_SUPPORT
public static final RongIMClient.ErrorCode MSG_ROAMING_SERVICE_UNAVAILABLE
public static final RongIMClient.ErrorCode NOT_IN_DISCUSSION
public static final RongIMClient.ErrorCode RC_MSG_BLOCKED_SENSITIVE_WORD
public static final RongIMClient.ErrorCode RC_MSG_REPLACED_SENSITIVE_WORD
public static final RongIMClient.ErrorCode NOT_IN_GROUP
public static final RongIMClient.ErrorCode FORBIDDEN_IN_GROUP
public static final RongIMClient.ErrorCode NOT_IN_CHATROOM
public static final RongIMClient.ErrorCode FORBIDDEN_IN_CHATROOM
public static final RongIMClient.ErrorCode KICKED_FROM_CHATROOM
public static final RongIMClient.ErrorCode RC_CHATROOM_NOT_EXIST
public static final RongIMClient.ErrorCode RC_CHATROOM_IS_FULL
public static final RongIMClient.ErrorCode RC_CHATROOM_ILLEGAL_ARGUMENT
public static final RongIMClient.ErrorCode REJECTED_BY_BLACKLIST
public static final RongIMClient.ErrorCode RC_NET_CHANNEL_INVALID
public static final RongIMClient.ErrorCode RC_NET_UNAVAILABLE
public static final RongIMClient.ErrorCode RC_MSG_RESP_TIMEOUT
public static final RongIMClient.ErrorCode RC_HTTP_SEND_FAIL
public static final RongIMClient.ErrorCode RC_HTTP_REQ_TIMEOUT
public static final RongIMClient.ErrorCode RC_HTTP_RECV_FAIL
public static final RongIMClient.ErrorCode RC_NAVI_RESOURCE_ERROR
public static final RongIMClient.ErrorCode RC_NODE_NOT_FOUND
public static final RongIMClient.ErrorCode RC_DOMAIN_NOT_RESOLVE
public static final RongIMClient.ErrorCode RC_SOCKET_NOT_CREATED
public static final RongIMClient.ErrorCode RC_SOCKET_DISCONNECTED
public static final RongIMClient.ErrorCode RC_PING_SEND_FAIL
public static final RongIMClient.ErrorCode RC_PONG_RECV_FAIL
public static final RongIMClient.ErrorCode RC_MSG_SEND_FAIL
public static final RongIMClient.ErrorCode RC_CONN_OVERFREQUENCY
public static final RongIMClient.ErrorCode RC_MSG_SIZE_OUT_OF_LIMIT
public static final RongIMClient.ErrorCode RC_NETWORK_IS_DOWN_OR_UNREACHABLE
public static final RongIMClient.ErrorCode RC_CONN_ACK_TIMEOUT
public static final RongIMClient.ErrorCode RC_CONN_PROTO_VERSION_ERROR
public static final RongIMClient.ErrorCode RC_CONN_ID_REJECT
public static final RongIMClient.ErrorCode RC_CONN_SERVER_UNAVAILABLE
public static final RongIMClient.ErrorCode RC_CONN_USER_OR_PASSWD_ERROR
public static final RongIMClient.ErrorCode RC_CONN_NOT_AUTHRORIZED
public static final RongIMClient.ErrorCode RC_CONN_REDIRECTED
public static final RongIMClient.ErrorCode RC_CONN_PACKAGE_NAME_INVALID
public static final RongIMClient.ErrorCode RC_CONN_APP_BLOCKED_OR_DELETED
public static final RongIMClient.ErrorCode RC_CONN_USER_BLOCKED
public static final RongIMClient.ErrorCode RC_DISCONN_KICK
public static final RongIMClient.ErrorCode RC_DISCONN_USER_BLOCKED
public static final RongIMClient.ErrorCode RC_CONN_OTHER_DEVICE_LOGIN
public static final RongIMClient.ErrorCode RC_QUERY_ACK_NO_DATA
public static final RongIMClient.ErrorCode RC_MSG_DATA_INCOMPLETE
public static final RongIMClient.ErrorCode RC_CONN_REFUSED
public static final RongIMClient.ErrorCode RC_CONNECTION_RESET_BY_PEER
public static final RongIMClient.ErrorCode BIZ_ERROR_CLIENT_NOT_INIT
public static final RongIMClient.ErrorCode BIZ_ERROR_DATABASE_ERROR
public static final RongIMClient.ErrorCode BIZ_ERROR_INVALID_PARAMETER
public static final RongIMClient.ErrorCode BIZ_ERROR_NO_CHANNEL
public static final RongIMClient.ErrorCode BIZ_ERROR_RECONNECT_SUCCESS
public static final RongIMClient.ErrorCode BIZ_ERROR_CONNECTING
public static final RongIMClient.ErrorCode NOT_FOLLOWED
public static final RongIMClient.ErrorCode PARAMETER_INVALID_CHATROOM
public static final RongIMClient.ErrorCode ROAMING_SERVICE_UNAVAILABLE_CHATROOM
public static final RongIMClient.ErrorCode RC_RECALL_PARAMETER_INVALID
public static final RongIMClient.ErrorCode RC_PUSHSETTING_PARAMETER_INVALID
public static final RongIMClient.ErrorCode RC_PUSHSETTING_CONFIG_NOT_OPEN
public static final RongIMClient.ErrorCode RC_SIGHT_SERVICE_UNAVAILABLE
public static final RongIMClient.ErrorCode RC_SIGHT_MSG_DURATION_LIMIT_EXCEED
public static RongIMClient.ErrorCode[] values()
for (RongIMClient.ErrorCode c : RongIMClient.ErrorCode.values()) System.out.println(c);
public static RongIMClient.ErrorCode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getValue()
public java.lang.String getMessage()
public static RongIMClient.ErrorCode valueOf(int code)
code
- 错误代码。Copyright © 2020 RongCloud. All Rights Reserved.