Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration ConnectionStatus

连接状态

deprecated

已废弃,请使用 RCConnectionStatus 替代此枚举声明

Index

Enumeration members

CONNECTED

CONNECTED = 0

连接成功。

CONNECTING

CONNECTING = 1

连接中。

DISCONNECTED

DISCONNECTED = 2

正常断开连接。

NETWORK_UNAVAILABLE

NETWORK_UNAVAILABLE = 3

网络不可用。

CONNECTION_CLOSED

CONNECTION_CLOSED = 4

连接关闭。

KICKED_OFFLINE_BY_OTHER_CLIENT

KICKED_OFFLINE_BY_OTHER_CLIENT = 6

用户账户在其他设备登录,本机会被踢掉线。

WEBSOCKET_UNAVAILABLE

WEBSOCKET_UNAVAILABLE = 7

websocket 连接失败

WEBSOCKET_ERROR

WEBSOCKET_ERROR = 8

websocket 报错

BLOCKED

BLOCKED = 9

用户被封禁

DOMAIN_INCORRECT

DOMAIN_INCORRECT = 12

域名错误

DISCONNECT_BY_SERVER

DISCONNECT_BY_SERVER = 13

服务器主动断开

REDIRECT

REDIRECT = 14

重定向

USER_LOGOUT

USER_LOGOUT = 19

用户账号已销户,不再进行连接

APPKEY_IS_FAKE

APPKEY_IS_FAKE = 20

appkey 不正确

FORBID_RECONNECT_BY_OTHER_SAME_CLIENT

FORBID_RECONNECT_BY_OTHER_SAME_CLIENT = 31023

Electron 中,其他端登录,本端禁止连接和重连

ULTRALIMIT

ULTRALIMIT = 1101

互踢次数过多(count > 5),此时可能出现:在其它他设备登陆有 reconnect 逻辑

REQUEST_NAVI

REQUEST_NAVI = 201

开始请求导航

RESPONSE_NAVI

RESPONSE_NAVI = 202

请求导航结束

RESPONSE_NAVI_ERROR

RESPONSE_NAVI_ERROR = 203

请求导航失败

RESPONSE_NAVI_TIMEOUT

RESPONSE_NAVI_TIMEOUT = 204

请求导航超时

RC_LICENSE_EXPIRED

RC_LICENSE_EXPIRED = 31030

证书过期,SDK不会重连

RC_CONN_USER_OR_PASSWD_ERROR

RC_CONN_USER_OR_PASSWD_ERROR = 31004

Token 错误。