NIMSDK-AOS
10.9.71
首页
相关页面
包
类
文件
文件列表
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
10
/**
11
* 网络通话类型枚举
12
*/
13
public
enum
AVChatType
{
14
/**
15
* 未知
16
*/
17
UNKNOWN
(-1),
18
/**
19
* 音频通话
20
*/
21
AUDIO
(IAVChatService.CallType.CALL_TYPE_AUDIO),
22
/**
23
* 视频通话
24
*/
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
生成于 2026年 一月 5日 星期一 08:04:46 , 为 NIMSDK-AOS使用
1.8.11