检索消息的接口入参
更多...
|
| | QChatSearchMsgByPageParam (long serverId,@NonNull List< MsgTypeEnum > msgTypes) |
| |
| | QChatSearchMsgByPageParam (String keyword, long serverId, Long channelId, String fromAccount, Long fromTime, Long toTime,@NonNull List< MsgTypeEnum > msgTypes, List< Integer > subTypes, Boolean isIncludeSelf, Boolean order, Integer limit, QChatMessageSearchSortEnum sort, String cursor) |
| |
| String | getKeyword () |
| | 获取检索关键字 更多...
|
| |
| void | setKeyword (String keyword) |
| | 设置检索关键字 更多...
|
| |
| long | getServerId () |
| | 获取服务器Id 更多...
|
| |
| Long | getChannelId () |
| | 获取频道Id 更多...
|
| |
| void | setChannelId (Long channelId) |
| | 设置频道Id 更多...
|
| |
| String | getFromAccount () |
| | 获取消息发送者accid 更多...
|
| |
| void | setFromAccount (String fromAccount) |
| | 设置消息发送者accid 更多...
|
| |
| Long | getFromTime () |
| | 获取查询开始时间 更多...
|
| |
| void | setFromTime (Long fromTime) |
| | 设置查询开始时间 更多...
|
| |
| Long | getToTime () |
| | 获取查询结束时间 更多...
|
| |
| void | setToTime (Long toTime) |
| | 设置查询结束时间 更多...
|
| |
| List< MsgTypeEnum > | getMsgTypes () |
| | 获取搜索的消息类型列表 更多...
|
| |
| List< Integer > | getSubTypes () |
| | 获取搜索的消息子类型列表 更多...
|
| |
| void | setSubTypes (List< Integer > subTypes) |
| | 设置搜索的消息子类型列表 更多...
|
| |
| Boolean | isIncludeSelf () |
| | 获取是否包含自己发送的消息 更多...
|
| |
| void | setIncludeSelf (Boolean includeSelf) |
| | 设置是否包含自己发送的消息 更多...
|
| |
| Boolean | getOrder () |
| | 获取排序规则 true:正序;false:倒序(默认) 更多...
|
| |
| void | setOrder (Boolean order) |
| | 设置排序规则 true:正序;false:倒序(默认) 更多...
|
| |
| Integer | getLimit () |
| | 获取检索返回的最大记录数,最大和默认都是100 更多...
|
| |
| void | setLimit (Integer limit) |
| | 设置检索返回的最大记录数,最大和默认都是100 更多...
|
| |
| QChatMessageSearchSortEnum | getSort () |
| | 获取排序条件 更多...
|
| |
| void | setSort (QChatMessageSearchSortEnum sort) |
| | 设置排序条件 更多...
|
| |
| String | getCursor () |
| | 获取查询游标,下次查询的起始位置,第一页设置为null,查询下一页是传入上一页返回的cursor 更多...
|
| |
| void | setCursor (String cursor) |
| | 设置查询游标,下次查询的起始位置,第一页设置为null,查询下一页是传入上一页返回的cursor 更多...
|
| |
| com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.QChatSearchMsgByPageParam |
( |
long |
serverId, |
|
|
@NonNull List< MsgTypeEnum > |
msgTypes |
|
) |
| |
| com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.QChatSearchMsgByPageParam |
( |
String |
keyword, |
|
|
long |
serverId, |
|
|
Long |
channelId, |
|
|
String |
fromAccount, |
|
|
Long |
fromTime, |
|
|
Long |
toTime, |
|
|
@NonNull List< MsgTypeEnum > |
msgTypes, |
|
|
List< Integer > |
subTypes, |
|
|
Boolean |
isIncludeSelf, |
|
|
Boolean |
order, |
|
|
Integer |
limit, |
|
|
QChatMessageSearchSortEnum |
sort, |
|
|
String |
cursor |
|
) |
| |
- 参数
-
| keyword | 检索关键字 |
| serverId | 服务器Id |
| channelId | 频道Id |
| fromAccount | 消息发送者accid |
| fromTime | 查询开始时间 |
| toTime | 查询结束时间 |
| msgTypes | 搜索的消息类型列表 |
| subTypes | 搜索的消息子类型列表 |
| isIncludeSelf | 是否包含自己发送的消息 |
| order | 排序规则 true:正序;false:倒序(默认) |
| limit | 检索返回的最大记录数,最大和默认都是100 |
| sort | 排序条件 |
| cursor | 查询游标,下次查询的起始位置,第一页设置为null,查询下一页是传入上一页返回的cursor |
在文件 QChatSearchMsgByPageParam.java 第 101 行定义.
| Long com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getChannelId |
( |
| ) |
|
| String com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getCursor |
( |
| ) |
|
| String com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getFromAccount |
( |
| ) |
|
| Long com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getFromTime |
( |
| ) |
|
| String com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getKeyword |
( |
| ) |
|
| Integer com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getLimit |
( |
| ) |
|
| List<MsgTypeEnum> com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getMsgTypes |
( |
| ) |
|
| Boolean com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getOrder |
( |
| ) |
|
| long com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getServerId |
( |
| ) |
|
| List<Integer> com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getSubTypes |
( |
| ) |
|
| Long com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.getToTime |
( |
| ) |
|
| Boolean com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.isIncludeSelf |
( |
| ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setChannelId |
( |
Long |
channelId | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setCursor |
( |
String |
cursor | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setFromAccount |
( |
String |
fromAccount | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setFromTime |
( |
Long |
fromTime | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setIncludeSelf |
( |
Boolean |
includeSelf | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setKeyword |
( |
String |
keyword | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setLimit |
( |
Integer |
limit | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setOrder |
( |
Boolean |
order | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setSubTypes |
( |
List< Integer > |
subTypes | ) |
|
| void com.netease.nimlib.sdk.qchat.param.QChatSearchMsgByPageParam.setToTime |
( |
Long |
toTime | ) |
|
该类的文档由以下文件生成: