NIMSDK-iOS
载入中...
搜索中...
未找到
NIMTeamMemberSearchOption.h
浏览该文件的文档.
1//
2// NIMTeamMemberSearchOption.h
3// NIMLib
4//
5// Created by 崔生余 on 2024/1/14.
6// Copyright © 2024 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "NIMTeamDefs.h"
11
12NS_ASSUME_NONNULL_BEGIN
13
14/**
15 * 查询顺序
16 */
17typedef NS_ENUM(NSInteger,NIMTeamMemberSearchOrder) {
18 /**
19 * 入群时间从近到远
20 */
22
23 /**
24 * 入群时间从远到近
25 */
27};
28
30
31/**
32 * 群成员类型
33 */
34@property (nonatomic, copy, nullable) NSArray<NSNumber *> *roleTypes;
35/**
36 * 查询成员的开始位置, 要求 >=0 。
37 */
38@property (nonatomic, assign) NSInteger offset;
39/**
40 * 查询顺序,按照入群时间,默认按照入群时间降序。
41 */
42@property (nonatomic, assign) NIMTeamMemberSearchOrder order;
43/**
44 * 查询成员的个数。 默认10。
45 */
46@property (nonatomic, assign) NSInteger limit;
47
48@end
49
50NS_ASSUME_NONNULL_END
NIMTeamMemberSearchOrder
Definition: NIMTeamMemberSearchOption.h:17
@ NIMTeamMemberSearchOrderDesc
Definition: NIMTeamMemberSearchOption.h:21
@ NIMTeamMemberSearchOrderAsc
Definition: NIMTeamMemberSearchOption.h:26
Definition: NIMTeamMemberSearchOption.h:30
NSInteger limit
Definition: NIMTeamMemberSearchOption.h:46
NSInteger offset
Definition: NIMTeamMemberSearchOption.h:38
NIMTeamMemberSearchOrder order
Definition: NIMTeamMemberSearchOption.h:42
NSArray< NSNumber * > * roleTypes
Definition: NIMTeamMemberSearchOption.h:34