NIMSDK-AOS
9.19.0
basesdk
src
com
netease
nimlib
sdk
msg
constant
ChatRoomQueueChangeType.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.msg.constant;
2
3
/**
4
* Created by winnie on 2017/6/27.
5
*/
6
7
public
enum
ChatRoomQueueChangeType
{
8
/**
9
* 未定义类型
10
*/
11
undefined
(-1),
12
/**
13
* OFFER:新增队列元素
14
*/
15
OFFER
(1),
16
/**
17
* POLL: 移除队列元素
18
*/
19
POLL
(2),
20
/**
21
* DROP: 清空所有队列元素
22
*/
23
DROP
(3),
24
/**
25
* PARTCLEAR: 部分清理操作(发生在提交元素的用户掉线时,清理这个用户对应的key)
26
*/
27
PARTCLEAR
(4),
28
29
/**
30
* BATCH_UPDATE : 批量更新队列元素
31
*/
32
BATCH_UPDATE
(5),
33
34
/**
35
* BATCH_OFFER : 批量新增或变更队列元素
36
*/
37
BATCH_OFFER
(6);
38
39
private
int
value;
40
41
ChatRoomQueueChangeType
(
int
value) {
42
this.value = value;
43
}
44
45
public
int
getValue
() {
46
return
value;
47
}
48
49
public
static
ChatRoomQueueChangeType
typeOfValue
(
int
value) {
50
for
(
ChatRoomQueueChangeType
e : values()) {
51
if
(e.getValue() == value) {
52
return
e;
53
}
54
}
55
return
undefined;
56
}
57
}
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.POLL
POLL
POLL: 移除队列元素
Definition:
ChatRoomQueueChangeType.java:19
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.PARTCLEAR
PARTCLEAR
PARTCLEAR: 部分清理操作(发生在提交元素的用户掉线时,清理这个用户对应的key)
Definition:
ChatRoomQueueChangeType.java:27
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.ChatRoomQueueChangeType
ChatRoomQueueChangeType(int value)
Definition:
ChatRoomQueueChangeType.java:41
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.BATCH_OFFER
BATCH_OFFER
BATCH_OFFER : 批量新增或变更队列元素
Definition:
ChatRoomQueueChangeType.java:37
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.undefined
undefined
未定义类型
Definition:
ChatRoomQueueChangeType.java:11
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.OFFER
OFFER
OFFER:新增队列元素
Definition:
ChatRoomQueueChangeType.java:15
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType
Created by winnie on 2017/6/27.
Definition:
ChatRoomQueueChangeType.java:7
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.DROP
DROP
DROP: 清空所有队列元素
Definition:
ChatRoomQueueChangeType.java:23
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.BATCH_UPDATE
BATCH_UPDATE
BATCH_UPDATE : 批量更新队列元素
Definition:
ChatRoomQueueChangeType.java:32
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.typeOfValue
static ChatRoomQueueChangeType typeOfValue(int value)
Definition:
ChatRoomQueueChangeType.java:49
com.netease.nimlib.sdk.msg.constant.ChatRoomQueueChangeType.getValue
int getValue()
Definition:
ChatRoomQueueChangeType.java:45
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13