NIMMsgIndexQueryResult Class Reference
| Inherits from | NSObject | 
|---|---|
| Declared in | NIMIndexManagerProtocol.h | 
  empty
	不包含任何结果
@property (nonatomic, readonly) BOOL emptyDiscussion
不包含任何结果
Declared In
NIMIndexManagerProtocol.h
  sessions
	排序的会话列表
@property (nonatomic, nullable, readonly) NSArray<NIMSession*> *sessionsDiscussion
排序的会话列表
Declared In
NIMIndexManagerProtocol.h
  records
	分会话索引记录
@property (nonatomic, nullable, readonly) NSDictionary<NIMSession*NSArray<NIMMsgIndexRecord*> *> *recordsDiscussion
分会话索引记录
Declared In
NIMIndexManagerProtocol.h
  withMesssage
	是否包含消息
@property (nonatomic, readonly) BOOL withMesssageDiscussion
是否包含消息
Declared In
NIMIndexManagerProtocol.h
– messages:
	分会话索引记录
- (NSArray<NIMMessage*> *)messages:(nonnull NIMSession *)sessionParameters
session | 
						指定会话 @discussion  | 
					
|---|
Discussion
分会话索引记录
Declared In
NIMIndexManagerProtocol.h
– messageCount:
	查询结果中的消息数量
- (NSUInteger)messageCount:(nullable NIMSession *)sessionParameters
session | 
						指定会话,不传表示所有 @discussion  | 
					
|---|
Discussion
查询结果中的消息数量
Declared In
NIMIndexManagerProtocol.h
– queryMessage:completion:
	查询消息
- (void)queryMessage:(nullable NIMSession *)session completion:(nullable NIMMsgIndexQueryMsgBlock)completionParameters
session | 
						指定会话,不传表示所有  | 
					
|---|---|
completion | 
						完成回调  | 
					
Discussion
查询消息
消息结果记录在查询结果中
Declared In
NIMIndexManagerProtocol.h