ConnectionErrorCode

建立连接返回的错误码

Entries

Link copied to clipboard

IPC 进程意外终止。

Link copied to clipboard

AppKey 错误

Link copied to clipboard
Link copied to clipboard

App 校验未通过

Link copied to clipboard

ApplicationId 与后台注册信息不一致。

Link copied to clipboard

AppKey 被封禁或已删除

Link copied to clipboard

用户被封禁

Link copied to clipboard

用户被踢下线

Link copied to clipboard

用户在其它设备上登录

Link copied to clipboard

SDK 没有初始化

Link copied to clipboard

开发者接口调用时传入的参数错误

Link copied to clipboard

连接已存在

Link copied to clipboard

连接环境不正确(融云公有云 SDK 无法连接到私有云环境。

Link copied to clipboard

SDK 内部连接超时,调用 connect 接口设置有效的 timeLimit 值时会出现该错误

Link copied to clipboard

环境校验失败

Link copied to clipboard

APP 服务校验失败 连接接口 ConnectOption.connectExt 参数在 APP 服务验证不通过.

Link copied to clipboard

该 token 已经被使用过,无法进行连接 一次性 token 只能连接一次,之后再使用会上报此错误

Link copied to clipboard
Link copied to clipboard

用户已销户

Link copied to clipboard

APP License 过期 请检查为您部署的 IM 服务 License 是否过期

Link copied to clipboard

未知错误

Functions

Link copied to clipboard
public int getValue()
获取错误代码值。
Link copied to clipboard
public static RongIMClient.ConnectionErrorCode valueOf(int code)
设置错误代码值。
public static RongIMClient.ConnectionErrorCode valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.