NIMSDK-AOS
9.19.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
enums
QChatSubscribeOperateType.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.enums;
2
3
/**
4
* 订阅操作类型
5
*/
6
public
enum
QChatSubscribeOperateType
{
7
/**
8
* 订阅
9
*/
10
SUB
(1),
11
/**
12
* 取消订阅
13
*/
14
UN_SUB
(2),
15
;
16
17
private
int
value;
18
19
QChatSubscribeOperateType
(
int
value) {
20
this.value = value;
21
}
22
23
public
int
getValue
() {
24
return
value;
25
}
26
27
public
static
QChatSubscribeOperateType
typeOfValue
(
int
value) {
28
for
(
QChatSubscribeOperateType
e : values()) {
29
if
(e.getValue() == value) {
30
return
e;
31
}
32
}
33
return
null;
34
}
35
}
com.netease.nimlib.sdk.qchat.enums.QChatSubscribeOperateType.typeOfValue
static QChatSubscribeOperateType typeOfValue(int value)
Definition:
QChatSubscribeOperateType.java:27
com.netease.nimlib.sdk.qchat.enums.QChatSubscribeOperateType.SUB
SUB
订阅
Definition:
QChatSubscribeOperateType.java:10
com.netease.nimlib.sdk.qchat.enums.QChatSubscribeOperateType.UN_SUB
UN_SUB
取消订阅
Definition:
QChatSubscribeOperateType.java:14
com.netease.nimlib.sdk.qchat.enums.QChatSubscribeOperateType.getValue
int getValue()
Definition:
QChatSubscribeOperateType.java:23
com.netease.nimlib.sdk.qchat.enums.QChatSubscribeOperateType
订阅操作类型
Definition:
QChatSubscribeOperateType.java:6
com.netease.nimlib.sdk.qchat.enums.QChatSubscribeOperateType.QChatSubscribeOperateType
QChatSubscribeOperateType(int value)
Definition:
QChatSubscribeOperateType.java:19
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13