NIMSDK-AOS
9.19.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
result
QChatSearchServerByPageResult.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.result;
2
3
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
model
.
QChatServer
;
4
import
java.io.Serializable;
5
import
java.util.List;
6
7
public
class
QChatSearchServerByPageResult
extends
QChatGetByPageWithCursorResult
implements Serializable {
8
/**
9
* 查询到的服务器
10
*/
11
private
final
List<QChatServer> servers;
12
13
public
QChatSearchServerByPageResult
(String
cursor
, List<QChatServer> servers) {
14
super(cursor);
15
this.servers = servers;
16
}
17
18
public
QChatSearchServerByPageResult
(
boolean
hasMore
,
long
nextTimeTag
, String
cursor
,
19
List<QChatServer> servers) {
20
super(hasMore, nextTimeTag, cursor);
21
this.servers = servers;
22
}
23
24
/**
25
* 获取查询到的服务器
26
*/
27
public
List<QChatServer>
getServers
() {
28
return
servers;
29
}
30
31
@Override
32
public
String
toString
() {
33
return
"QChatSearchServerByPageResult{"
+
34
"hasMore="
+
hasMore
+
35
", nextTimeTag="
+
nextTimeTag
+
36
", cursor='"
+
cursor
+
'\''
+
37
", servers="
+ servers +
38
'}'
;
39
}
40
}
com.netease.nimlib.sdk.qchat.result.QChatSearchServerByPageResult.QChatSearchServerByPageResult
QChatSearchServerByPageResult(boolean hasMore, long nextTimeTag, String cursor, List< QChatServer > servers)
Definition:
QChatSearchServerByPageResult.java:18
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult.hasMore
final boolean hasMore
表示是否还有下一页
Definition:
QChatGetByPageResult.java:7
com.netease
com
com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult.cursor
String cursor
可选:查询游标,下次查询的起始位置
Definition:
QChatGetByPageWithCursorResult.java:7
com.netease.nimlib.sdk.qchat.result.QChatSearchServerByPageResult.getServers
List< QChatServer > getServers()
获取查询到的服务器
Definition:
QChatSearchServerByPageResult.java:27
com.netease.nimlib.sdk.qchat.model
Definition:
QChatPushConfig.java:1
com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult.nextTimeTag
final long nextTimeTag
下一次翻页时的起始时间戳
Definition:
QChatGetByPageResult.java:12
com.netease.nimlib.sdk.qchat.result.QChatSearchServerByPageResult
Definition:
QChatSearchServerByPageResult.java:7
com.netease.nimlib.sdk.qchat
com.netease.nimlib.sdk.qchat.model.QChatServer
服务器信息
Definition:
QChatServer.java:10
com.netease.nimlib.sdk.qchat.result.QChatSearchServerByPageResult.QChatSearchServerByPageResult
QChatSearchServerByPageResult(String cursor, List< QChatServer > servers)
Definition:
QChatSearchServerByPageResult.java:13
com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult
Definition:
QChatGetByPageWithCursorResult.java:3
com.netease.nimlib.sdk.qchat.result.QChatSearchServerByPageResult.toString
String toString()
Definition:
QChatSearchServerByPageResult.java:32
com.netease.nimlib
生成于 2024年 十月 16日 星期三 10:25:06 , 为 NIMSDK-AOS使用
1.8.13