NIMSDK-iOS
载入中...
搜索中...
未找到
NIMTeamSearchOption.h
浏览该文件的文档.
1//
2// NIMTeamSearchOption.h
3// NIMSDK
4//
5// Created by Genning-Work on 2019/12/6.
6// Copyright © 2019 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13typedef NS_OPTIONS(NSInteger, NIMTeamSearchContentOption){
14 /*
15 * 匹配TeamName
16 */
17 NIMTeamSearchContentOptiontName = 1 << 0,
18 /*
19 * 匹配TeamID
20 */
21 NIMTeamSearchContentOptiontId = 1 << 1,
22 /*
23 * 匹配全部,默认
24 */
25 NIMTeamSearchContentOptionTeamAll = NIMTeamSearchContentOptiontName | NIMTeamSearchContentOptiontId
26};
27
28@interface NIMTeamSearchOption : NSObject
29
30/**
31* 搜索文本的匹配区域。(默认:NIMUserSearchContentOptiontTeamName)
32*/
33@property (nonatomic, assign) NIMTeamSearchContentOption searchContentOption;
34
35/**
36* 忽略大小写。(默认:YES)
37*/
38@property (nonatomic, assign) BOOL ignoreingCase;
39
40/**
41* 搜索文本。
42*/
43@property (nullable,nonatomic,copy) NSString *searchContent;
44
45@end
46
47NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_BEGIN typedef NS_OPTIONS(NSInteger, NIMTeamSearchContentOption)
Definition: NIMTeamSearchOption.h:13
Definition: NIMTeamSearchOption.h:29
NSString * searchContent
Definition: NIMTeamSearchOption.h:43
NIMTeamSearchContentOption searchContentOption
Definition: NIMTeamSearchOption.h:33
BOOL ignoreingCase
Definition: NIMTeamSearchOption.h:38