|
NIMSDK-AOS
10.9.80
|
根据tag查询消息参数 更多...
Public 成员函数 | |
| List< String > | getTags () |
| 获取查询的tags 更多... | |
| List< V2NIMMessageType > | getMessageTypes () |
| 获取根据消息类型查询消息, 为null或空列表, 则表示查询所有消息类型 更多... | |
| long | getBeginTime () |
| 获取消息查询开始时间,首次传0,单位毫秒 更多... | |
| long | getEndTime () |
| 获取消息查询结束时间,默认当前时间,单位毫秒 更多... | |
| Integer | getLimit () |
| 获取每次查询条数 更多... | |
| V2NIMMessageQueryDirection | getDirection () |
| 获取消息查询方向, 默认为V2NIMMessageQueryDirection#V2NIM_QUERY_DIRECTION_DESC 更多... | |
| void | setTags (List< String > tags) |
| 设置查询的tags, 为空,或者size为0, 返回参数错误 更多... | |
| void | setMessageTypes (List< V2NIMMessageType > messageTypes) |
| 设置根据消息类型查询消息, 为null或空列表, 则表示查询所有消息类型 更多... | |
| void | setBeginTime (Long beginTime) |
| 设置消息查询开始时间,首次传0,单位毫秒 更多... | |
| void | setEndTime (Long endTime) |
| 设置消息查询结束时间,默认当前时间,单位毫秒 更多... | |
| void | setLimit (Integer limit) |
| 设置每次查询条数 更多... | |
| void | setDirection (V2NIMMessageQueryDirection direction) |
| 设置消息查询方向, 默认为V2NIMMessageQueryDirection#V2NIM_QUERY_DIRECTION_DESC 更多... | |
| boolean | isValid () |
根据tag查询消息参数
在文件 V2NIMChatroomTagMessageOption.java 第 12 行定义.
| long com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.getBeginTime | ( | ) |
| V2NIMMessageQueryDirection com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.getDirection | ( | ) |
获取消息查询方向, 默认为V2NIMMessageQueryDirection#V2NIM_QUERY_DIRECTION_DESC
在文件 V2NIMChatroomTagMessageOption.java 第 93 行定义.
| long com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.getEndTime | ( | ) |
| Integer com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.getLimit | ( | ) |
| List<V2NIMMessageType> com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.getMessageTypes | ( | ) |
获取根据消息类型查询消息, 为null或空列表, 则表示查询所有消息类型
在文件 V2NIMChatroomTagMessageOption.java 第 52 行定义.
| List<String> com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.getTags | ( | ) |
| boolean com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.isValid | ( | ) |
在文件 V2NIMChatroomTagMessageOption.java 第 148 行定义.
| void com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.setBeginTime | ( | Long | beginTime | ) |
| void com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.setDirection | ( | V2NIMMessageQueryDirection | direction | ) |
设置消息查询方向, 默认为V2NIMMessageQueryDirection#V2NIM_QUERY_DIRECTION_DESC
| direction |
在文件 V2NIMChatroomTagMessageOption.java 第 144 行定义.
| void com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.setEndTime | ( | Long | endTime | ) |
| void com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.setLimit | ( | Integer | limit | ) |
| void com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.setMessageTypes | ( | List< V2NIMMessageType > | messageTypes | ) |
设置根据消息类型查询消息, 为null或空列表, 则表示查询所有消息类型
| messageTypes |
在文件 V2NIMChatroomTagMessageOption.java 第 112 行定义.
| void com.netease.nimlib.sdk.v2.chatroom.option.V2NIMChatroomTagMessageOption.setTags | ( | List< String > | tags | ) |
1.8.11