NIMSDK-AOS
9.16.0
plugins
avchat
src
com
netease
nimlib
sdk
avchat
constant
AVChatType.java
浏览该文件的文档.
1
/*
2
* Copyright (c) 2014-2018 NetEase, Inc.
3
* All right reserved.
4
*/
5
6
package
com.netease.nimlib.sdk.avchat.constant;
7
8
import
com
.
netease
.
nimlib
.avchat.biz.constant.IAVChatService;
9
13
public
enum
AVChatType
{
17
UNKNOWN
(-1),
21
AUDIO
(IAVChatService.CallType.CALL_TYPE_AUDIO),
25
VIDEO
(IAVChatService.CallType.CALL_TYPE_VIDEO);
26
27
private
int
value;
28
29
AVChatType
(
int
value) {
30
this.value = value;
31
}
32
33
public
int
getValue
() {
34
return
value;
35
}
36
37
public
static
AVChatType
typeOfValue
(
int
value) {
38
for
(
AVChatType
e : values()) {
39
if
(e.getValue() == value) {
40
return
e;
41
}
42
}
43
return
UNKNOWN;
44
}
45
}
com.netease.nimlib.sdk.avchat.constant.AVChatType.AVChatType
AVChatType(int value)
Definition:
AVChatType.java:29
com.netease.nimlib.sdk.avchat.constant.AVChatType.getValue
int getValue()
Definition:
AVChatType.java:33
com.netease
com
com.netease.nimlib.sdk.avchat.constant.AVChatType.typeOfValue
static AVChatType typeOfValue(int value)
Definition:
AVChatType.java:37
com.netease.nimlib.sdk.avchat.constant.AVChatType.AUDIO
AUDIO
音频通话
Definition:
AVChatType.java:21
com.netease.nimlib.sdk.avchat.constant.AVChatType
网络通话类型枚举
Definition:
AVChatType.java:13
com.netease.nimlib.sdk.avchat.constant.AVChatType.VIDEO
VIDEO
视频通话
Definition:
AVChatType.java:25
com.netease.nimlib.sdk.avchat.constant.AVChatType.UNKNOWN
UNKNOWN
未知
Definition:
AVChatType.java:17
com.netease.nimlib
生成于 2024年 四月 16日 星期二 14:41:39 , 为 NIMSDK-AOS使用
1.8.13