NIMSDK-AOS
9.17.0
plugins
avsignalling
src
com
netease
nimlib
sdk
avsignalling
constant
ChannelStatus.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.avsignalling.constant;
2
6
public
enum
ChannelStatus
{
7
11
NORMAL
(0),
15
INVALID
(1);
16
17
private
int
value;
18
19
ChannelStatus
(
int
value) {
20
this.value = value;
21
}
22
23
public
int
getValue
() {
24
return
value;
25
}
26
27
public
static
ChannelStatus
retrieve
(
int
value) {
28
ChannelStatus
[] array = values();
29
for
(
ChannelStatus
status : array) {
30
if
(status.value == value) {
31
return
status;
32
}
33
}
34
//默认有效
35
return
NORMAL;
36
}
37
}
com.netease.nimlib.sdk.avsignalling.constant.ChannelStatus.INVALID
INVALID
频道无效了 ,列如被关闭了
Definition:
ChannelStatus.java:15
com.netease.nimlib.sdk.avsignalling.constant.ChannelStatus.NORMAL
NORMAL
频道正常
Definition:
ChannelStatus.java:11
com.netease.nimlib.sdk.avsignalling.constant.ChannelStatus
频道状态
Definition:
ChannelStatus.java:6
com.netease.nimlib.sdk.avsignalling.constant.ChannelStatus.getValue
int getValue()
Definition:
ChannelStatus.java:23
com.netease.nimlib.sdk.avsignalling.constant.ChannelStatus.ChannelStatus
ChannelStatus(int value)
Definition:
ChannelStatus.java:19
com.netease.nimlib.sdk.avsignalling.constant.ChannelStatus.retrieve
static ChannelStatus retrieve(int value)
Definition:
ChannelStatus.java:27
生成于 2024年 七月 4日 星期四 17:33:51 , 为 NIMSDK-AOS使用
1.8.13