NIMSDK-iOS
载入中...
搜索中...
未找到
NIMCollectQueryOptions.h
浏览该文件的文档.
1//
2// NIMCollectQueryParams.h
3// NIMLib
4//
5// Created by 丁文超 on 2020/3/27.
6// Copyright © 2020 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13@interface NIMCollectQueryOptions : NSObject
14
15/**
16 * 最小时间(s)
17 */
18@property (nonatomic, assign) NSTimeInterval fromTime;
19
20/**
21 * 最大时间,传0表示当前时间(s)
22 */
23@property (nonatomic, assign) NSTimeInterval toTime;
24
25/**
26 * 上一页最后一条ID,第一条传0
27 */
28@property (nonatomic, assign) NSInteger excludeId;
29
30/**
31 * 查询条数,默认100
32 */
33@property (nonatomic, assign) NSInteger limit;
34
35/**
36 * 是否倒序
37 */
38@property (nonatomic, assign) BOOL reverse;
39
40/**
41 * 收藏类型
42 */
43@property (nonatomic, assign) NSInteger type;
44
45@end
46
47NS_ASSUME_NONNULL_END
Definition: NIMCollectQueryOptions.h:14
NSInteger type
Definition: NIMCollectQueryOptions.h:43
NSInteger limit
Definition: NIMCollectQueryOptions.h:33
NSTimeInterval fromTime
Definition: NIMCollectQueryOptions.h:18
NSTimeInterval toTime
Definition: NIMCollectQueryOptions.h:23
BOOL reverse
Definition: NIMCollectQueryOptions.h:38
NSInteger excludeId
Definition: NIMCollectQueryOptions.h:28