NIMTeamSearchOption.h 1001 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. typedef NS_OPTIONS(NSInteger, NIMTeamSearchContentOption){
  11. /*
  12. * 匹配TeamName
  13. */
  14. NIMTeamSearchContentOptiontName = 1 << 0,
  15. /*
  16. * 匹配TeamID
  17. */
  18. NIMTeamSearchContentOptiontId = 1 << 1,
  19. /*
  20. * 匹配全部,默认
  21. */
  22. NIMTeamSearchContentOptionTeamAll = NIMTeamSearchContentOptiontName | NIMTeamSearchContentOptiontId
  23. };
  24. @interface NIMTeamSearchOption : NSObject
  25. /**
  26. * 搜索文本的匹配区域。(默认:NIMUserSearchContentOptiontTeamName)
  27. */
  28. @property (nonatomic, assign) NIMTeamSearchContentOption searchContentOption;
  29. /**
  30. * 忽略大小写。(默认:YES)
  31. */
  32. @property (nonatomic, assign) BOOL ignoreingCase;
  33. /**
  34. * 搜索文本。
  35. */
  36. @property (nullable,nonatomic,copy) NSString *searchContent;
  37. @end
  38. NS_ASSUME_NONNULL_END