NIMSDK-iOS
载入中...
搜索中...
未找到
NIMFetchServerSessionOption类 参考

#import <NIMRecentSession.h>

类 NIMFetchServerSessionOption 继承关系图:

属性

NSTimeInterval minTimestamp
 
NSTimeInterval maxTimestamp
 
BOOL needLastMessage
 
NSInteger limit
 

详细描述

获取服务端会话列表可选参数

属性说明

◆ limit

- (NSInteger) limit
readwritenonatomicassign

结果集limit,最大100,默认100

◆ maxTimestamp

- (NSTimeInterval) maxTimestamp
readwritenonatomicassign

最大时间戳,翻页时使用, 单位毫秒,默认为当前时间

◆ minTimestamp

- (NSTimeInterval) minTimestamp
readwritenonatomicassign

最小时间戳,作为请求参数时表示增量获取Session列表,单位毫秒

◆ needLastMessage

- (BOOL) needLastMessage
readwritenonatomicassign

是否需要lastMsg,默认 YES


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