RCConnectionStatus Constants Reference

Declared in RCStatusDefine.h

RCConnectionStatus

网络连接状态码

开发者仅需要关注以下几种连接状态,其余状态SDK均会进行自动重连。 ConnectionStatus_Connected, ConnectionStatus_Connecting, ConnectionStatus_Unconnected, ConnectionStatus_SignUp, ConnectionStatus_KICKED_OFFLINE_BY_OTHER_CLIENT, ConnectionStatus_TOKEN_INCORRECT

Constants

ConnectionStatus_UNKNOWN
 未知状态

Declared In RCStatusDefine.h.

ConnectionStatus_Connected
 连接成功

Declared In RCStatusDefine.h.

ConnectionStatus_NETWORK_UNAVAILABLE
 当前设备网络不可用

Declared In RCStatusDefine.h.

ConnectionStatus_AIRPLANE_MODE
 当前设备切换到飞行模式

Declared In RCStatusDefine.h.

ConnectionStatus_Cellular_2G
 当前设备切换到 2G(GPRS、EDGE)低速网络

Declared In RCStatusDefine.h.

ConnectionStatus_Cellular_3G_4G
 当前设备切换到 3G 或 4G 高速网络

Declared In RCStatusDefine.h.

ConnectionStatus_WIFI
 当前设备切换到 WIFI 网络

Declared In RCStatusDefine.h.

ConnectionStatus_KICKED_OFFLINE_BY_OTHER_CLIENT
 当前用户在其他设备上登录,此设备被踢下线

Declared In RCStatusDefine.h.

ConnectionStatus_LOGIN_ON_WEB
 当前用户在 Web 端登录

Declared In RCStatusDefine.h.

ConnectionStatus_SERVER_INVALID
 服务器异常

Declared In RCStatusDefine.h.

ConnectionStatus_VALIDATE_INVALID
 连接验证异常

Declared In RCStatusDefine.h.

ConnectionStatus_Connecting
 连接中

Declared In RCStatusDefine.h.

ConnectionStatus_Unconnected
 连接失败或未连接

Declared In RCStatusDefine.h.

ConnectionStatus_SignUp
 已注销

Declared In RCStatusDefine.h.

ConnectionStatus_TOKEN_INCORRECT
 Token无效

Declared In RCStatusDefine.h.

ConnectionStatus_DISCONN_EXCEPTION
 与服务器的连接已断开,用户被封禁

Declared In RCStatusDefine.h.

Declared In

RCStatusDefine.h