NERtc Android SDK
Public 属性 | 所有成员列表
com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason接口 参考

Public 属性

int CONNECTION_CHANGED_LEAVE_CHANNEL = 1
 
int CONNECTION_CHANGED_CHANNEL_CLOSED = 2
 
int CONNECTION_CHANGED_SERVER_KICKED = 3
 
int CONNECTION_CHANGED_TIME_OUT = 4
 
int CONNECTION_CHANGED_JOIN_CHANNEL = 5
 
int CONNECTION_CHANGED_JOIN_SUCCEED = 6
 
int CONNECTION_CHANGED_REJOIN_SUCCEED = 7
 
int CONNECTION_CHANGED_MEDIA_CONNECTION_DISCONNECTED = 8
 
int CONNECTION_CHANGED_SIGNAL_DISCONNECTED = 9
 
int CONNECTION_CHANGED_REQUEST_CHANNEL_FAILED = 10
 
int CONNECTION_CHANGED_JOIN_CHANNEL_FAILED = 11
 
int CONNECTION_CHANGED_RE_DISPATCH = 12
 

详细描述

房间连接状态变更原因

类成员变量说明

◆ CONNECTION_CHANGED_CHANNEL_CLOSED

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_CHANNEL_CLOSED = 2

房间被关闭

◆ CONNECTION_CHANGED_JOIN_CHANNEL

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_JOIN_CHANNEL = 5

加入房间

◆ CONNECTION_CHANGED_JOIN_CHANNEL_FAILED

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_JOIN_CHANNEL_FAILED = 11

加入房间失败

◆ CONNECTION_CHANGED_JOIN_SUCCEED

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_JOIN_SUCCEED = 6

加入房间成功

◆ CONNECTION_CHANGED_LEAVE_CHANNEL

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_LEAVE_CHANNEL = 1

离开房间

◆ CONNECTION_CHANGED_MEDIA_CONNECTION_DISCONNECTED

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_MEDIA_CONNECTION_DISCONNECTED = 8

媒体连接断开

◆ CONNECTION_CHANGED_RE_DISPATCH

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_RE_DISPATCH = 12

重新分配了服务端IP

◆ CONNECTION_CHANGED_REJOIN_SUCCEED

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_REJOIN_SUCCEED = 7

重新加入房间成功(重连)

◆ CONNECTION_CHANGED_REQUEST_CHANNEL_FAILED

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_REQUEST_CHANNEL_FAILED = 10

请求房间失败

◆ CONNECTION_CHANGED_SERVER_KICKED

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_SERVER_KICKED = 3

用户被踢

◆ CONNECTION_CHANGED_SIGNAL_DISCONNECTED

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_SIGNAL_DISCONNECTED = 9

信令连接断开

◆ CONNECTION_CHANGED_TIME_OUT

int com.netease.lava.nertc.sdk.NERtcConstants.ConnectionStateChangeReason.CONNECTION_CHANGED_TIME_OUT = 4

超时离开


该接口的文档由以下文件生成: