2025-10-09 16:48:46 +08:00

48 lines
1001 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// NIMTeamSearchOption.h
// NIMSDK
//
// Created by Genning-Work on 2019/12/6.
// Copyright © 2019 Netease. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_OPTIONS(NSInteger, NIMTeamSearchContentOption){
/*
* 匹配TeamName
*/
NIMTeamSearchContentOptiontName = 1 << 0,
/*
* 匹配TeamID
*/
NIMTeamSearchContentOptiontId = 1 << 1,
/*
* 匹配全部,默认
*/
NIMTeamSearchContentOptionTeamAll = NIMTeamSearchContentOptiontName | NIMTeamSearchContentOptiontId
};
@interface NIMTeamSearchOption : NSObject
/**
* 搜索文本的匹配区域。默认NIMUserSearchContentOptiontTeamName
*/
@property (nonatomic, assign) NIMTeamSearchContentOption searchContentOption;
/**
* 忽略大小写。默认YES
*/
@property (nonatomic, assign) BOOL ignoreingCase;
/**
* 搜索文本。
*/
@property (nullable,nonatomic,copy) NSString *searchContent;
@end
NS_ASSUME_NONNULL_END