AWSChimeSDKMessagingSearchField
Objective-C
@interface AWSChimeSDKMessagingSearchField
Swift
class AWSChimeSDKMessagingSearchField
A Field of the channel that you want to search.
Required parameters: [Key, Values, Operator]
-
An
enumvalue that indicates the key to search the channel on.MEMBERSallows you to search channels based on memberships. You can use it with theEQUALSoperator to get channels whose memberships are equal to the specified values, and with theINCLUDESoperator to get channels whose memberships include the specified values.Declaration
Objective-C
@property (nonatomic) AWSChimeSDKMessagingSearchFieldKey key;Swift
var key: AWSChimeSDKMessagingSearchFieldKey { get set } -
The operator used to compare field values, currently
EQUALSorINCLUDES. Use theEQUALSoperator to find channels whose memberships equal the specified values. Use theINCLUDESoperator to find channels whose memberships include the specified values.Declaration
Objective-C
@property (nonatomic) AWSChimeSDKMessagingSearchFieldOperator operator;Swift
var `operator`: AWSChimeSDKMessagingSearchFieldOperator { get set } -
The values that you want to search for, a list of strings. The values must be
AppInstanceUserArnsspecified as a list of strings.This operation isn’t supported for
AppInstanceUserswith large number of memberships.Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable values;Swift
var values: [String]? { get set }
View on GitHub
Install in Dash
AWSChimeSDKMessagingSearchField Class Reference