NIMSDK-AOS  9.16.0
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult类 参考

检索消息的接口 结果 更多...

类 com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult 继承关系图:
com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult

Public 成员函数

 QChatSearchMsgByPageResult (String cursor, List< QChatMessage > messages)
 
 QChatSearchMsgByPageResult (boolean hasMore, long nextTimeTag, String cursor, List< QChatMessage > messages)
 
boolean isHasMore ()
 获取是否还有下一页的标志 更多...
 
long getNextTimeTag ()
 获取下一次翻页时的起始时间戳 更多...
 
String getCursor ()
 获取查询游标,下次查询的起始位置 更多...
 
List< QChatMessagegetMessages ()
 获取查询到的消息列表 更多...
 
String toString ()
 
- Public 成员函数 继承自 com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult
String getCursor ()
 获取查询游标,下次查询的起始位置 更多...
 
void setCursor (String cursor)
 设置查询游标,下次查询的起始位置 更多...
 
String toString ()
 
- Public 成员函数 继承自 com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult
boolean isHasMore ()
 获取是否还有下一页的标志 更多...
 
long getNextTimeTag ()
 获取下一次翻页时的起始时间戳 更多...
 
String toString ()
 

额外继承的成员函数

- Protected 成员函数 继承自 com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult
 QChatGetByPageWithCursorResult ()
 
 QChatGetByPageWithCursorResult (String cursor)
 
 QChatGetByPageWithCursorResult (boolean hasMore, long nextTimeTag, String cursor)
 
- Protected 成员函数 继承自 com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult
 QChatGetByPageResult ()
 
 QChatGetByPageResult (boolean hasMore, long nextTimeTag)
 
- Protected 属性 继承自 com.netease.nimlib.sdk.qchat.result.QChatGetByPageWithCursorResult
String cursor
 可选:查询游标,下次查询的起始位置 更多...
 
- Protected 属性 继承自 com.netease.nimlib.sdk.qchat.result.QChatGetByPageResult
final boolean hasMore
 表示是否还有下一页 更多...
 
final long nextTimeTag
 下一次翻页时的起始时间戳 更多...
 

详细描述

检索消息的接口 结果

在文件 QChatSearchMsgByPageResult.java10 行定义.

构造及析构函数说明

◆ QChatSearchMsgByPageResult() [1/2]

com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.QChatSearchMsgByPageResult ( String  cursor,
List< QChatMessage messages 
)

在文件 QChatSearchMsgByPageResult.java17 行定义.

◆ QChatSearchMsgByPageResult() [2/2]

com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.QChatSearchMsgByPageResult ( boolean  hasMore,
long  nextTimeTag,
String  cursor,
List< QChatMessage messages 
)

在文件 QChatSearchMsgByPageResult.java22 行定义.

成员函数说明

◆ getCursor()

String com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.getCursor ( )

获取查询游标,下次查询的起始位置

返回

在文件 QChatSearchMsgByPageResult.java53 行定义.

◆ getMessages()

List<QChatMessage> com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.getMessages ( )

获取查询到的消息列表

返回

在文件 QChatSearchMsgByPageResult.java61 行定义.

◆ getNextTimeTag()

long com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.getNextTimeTag ( )

获取下一次翻页时的起始时间戳

返回

在文件 QChatSearchMsgByPageResult.java43 行定义.

◆ isHasMore()

boolean com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.isHasMore ( )

获取是否还有下一页的标志

返回

在文件 QChatSearchMsgByPageResult.java33 行定义.

◆ toString()

String com.netease.nimlib.sdk.qchat.result.QChatSearchMsgByPageResult.toString ( )

在文件 QChatSearchMsgByPageResult.java66 行定义.


该类的文档由以下文件生成: