NIMSDK-AOS
9.20.10
首页
相关页面
包
类
文件
文件列表
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
result
QChatSearchMsgByPageResult.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.result;
2
3
import
com
.
netease
.
nimlib
.
sdk
.
qchat
.
model
.
QChatMessage
;
4
import
java.io.Serializable;
5
import
java.util.List;
6
7
/**
8
* 检索消息的接口 结果
9
*/
10
public
class
QChatSearchMsgByPageResult
extends
QChatGetByPageWithCursorResult
implements Serializable{
11
12
/**
13
* 查询到的消息列表
14
*/
15
private
final
List<QChatMessage> messages;
16
17
public
QChatSearchMsgByPageResult
(String
cursor
, List<QChatMessage> messages) {
18
super(cursor);
19
this.messages = messages;
20
}
21
22
public
QChatSearchMsgByPageResult
(
boolean
hasMore
,
long
nextTimeTag
, String
cursor
,List<QChatMessage> messages) {
23
super(hasMore, nextTimeTag, cursor);
24
this.messages = messages;
25
}
26
27
/**
28
* 获取是否还有下一页的标志
29
*
30
* @return
31
*/
32
@Override
33
public
boolean
isHasMore
() {
34
return
super.isHasMore();
35
}
36
37
/**
38
* 获取下一次翻页时的起始时间戳
39
*
40
* @return
41
*/
42
@Override
43
public
long
getNextTimeTag
() {
44
return
super.getNextTimeTag();
45
}
46
47
/**
48
* 获取查询游标,下次查询的起始位置
49
*
50
* @return
51
*/
52
@Override
53
public
String
getCursor
() {
54
return
super.getCursor();
55
}
56
57
/**
58
* 获取查询到的消息列表
59
* @return
60
*/
61
public
List<QChatMessage>
getMessages
() {
62
return
messages;
63
}
64
65
@Override
66
public
String
toString
() {
67
return
"QChatSearchMsgByPageResult{"
+
68
"hasMore="
+
hasMore
+
69
", nextTimeTag="
+
nextTimeTag
+
70
", cursor='"
+
cursor
+
'\''
+
71
", messages="
+ messages +
72
'}'
;
73
}
74
}
com.netease.nimlib.sdk
Definition:
NosTokenSceneConfig.java:1
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.getCursor
String getCursor()
获取查询游标,下次查询的起始位置
Definition:
QChatSearchMsgByPageResult.java:53
com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult.hasMore
final boolean hasMore
表示是否还有下一页
Definition:
QChatGetByPageResult.java:7
com.netease
com
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.QChatSearchMsgByPageResult
QChatSearchMsgByPageResult(String cursor, List< QChatMessage > messages)
Definition:
QChatSearchMsgByPageResult.java:17
com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult.cursor
String cursor
可选:查询游标,下次查询的起始位置
Definition:
QChatGetByPageWithCursorResult.java:7
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.QChatSearchMsgByPageResult
QChatSearchMsgByPageResult(boolean hasMore, long nextTimeTag, String cursor, List< QChatMessage > messages)
Definition:
QChatSearchMsgByPageResult.java:22
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.toString
String toString()
Definition:
QChatSearchMsgByPageResult.java:66
com.netease.nimlib.sdk.qchat.model
Definition:
QChatPushConfig.java:1
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.isHasMore
boolean isHasMore()
获取是否还有下一页的标志
Definition:
QChatSearchMsgByPageResult.java:33
com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult.nextTimeTag
final long nextTimeTag
下一次翻页时的起始时间戳
Definition:
QChatGetByPageResult.java:12
com.netease.nimlib.sdk.qchat
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.getNextTimeTag
long getNextTimeTag()
获取下一次翻页时的起始时间戳
Definition:
QChatSearchMsgByPageResult.java:43
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult
检索消息的接口 结果
Definition:
QChatSearchMsgByPageResult.java:10
com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult
Definition:
QChatGetByPageWithCursorResult.java:3
com.netease.nimlib.sdk.qchat.model.QChatMessage
圈组消息
Definition:
QChatMessage.java:11
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.getMessages
List< QChatMessage > getMessages()
获取查询到的消息列表
Definition:
QChatSearchMsgByPageResult.java:61
com.netease.nimlib
生成于 2025年 四月 18日 星期五 02:25:02 , 为 NIMSDK-AOS使用
1.8.11