NIMSDK-AOS
10.4.0-beta
载入中...
搜索中...
未找到
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
enums
QChatServerSearchSortEnum.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.enums;
2
3
/**
4
* 服务器搜索排序条件
5
*/
6
public
enum
QChatServerSearchSortEnum
{
7
/**
8
* 自定义权重排序
9
*/
10
ReorderWeight
(0),
11
/**
12
* 创建时间,默认
13
*/
14
CreateTime
(1),
15
/**
16
* 服务器总人数
17
*/
18
TotalMember
(2),
19
;
20
21
private
final
int
value;
22
23
QChatServerSearchSortEnum
(
int
value) {
24
this.value = value;
25
}
26
27
public
int
getValue
() {
28
return
value;
29
}
30
31
public
static
QChatServerSearchSortEnum
typeOfValue
(
int
value) {
32
for
(
QChatServerSearchSortEnum
e : values()) {
33
if
(e.getValue() == value) {
34
return
e;
35
}
36
}
37
return
null
;
38
}
39
}
com.netease.nimlib.sdk.qchat.enums.QChatServerSearchSortEnum
服务器搜索排序条件
Definition:
QChatServerSearchSortEnum.java:6
com.netease.nimlib.sdk.qchat.enums.QChatServerSearchSortEnum.typeOfValue
static QChatServerSearchSortEnum typeOfValue(int value)
Definition:
QChatServerSearchSortEnum.java:31
com.netease.nimlib.sdk.qchat.enums.QChatServerSearchSortEnum.QChatServerSearchSortEnum
QChatServerSearchSortEnum(int value)
Definition:
QChatServerSearchSortEnum.java:23
com.netease.nimlib.sdk.qchat.enums.QChatServerSearchSortEnum.CreateTime
CreateTime
创建时间,默认
Definition:
QChatServerSearchSortEnum.java:14
com.netease.nimlib.sdk.qchat.enums.QChatServerSearchSortEnum.getValue
int getValue()
Definition:
QChatServerSearchSortEnum.java:27
com.netease.nimlib.sdk.qchat.enums.QChatServerSearchSortEnum.ReorderWeight
ReorderWeight
自定义权重排序
Definition:
QChatServerSearchSortEnum.java:10
com.netease.nimlib.sdk.qchat.enums.QChatServerSearchSortEnum.TotalMember
TotalMember
服务器总人数
Definition:
QChatServerSearchSortEnum.java:18
生成于 2024年 八月 21日 星期三 18:18:02 , 为 NIMSDK-AOS使用
1.9.5