NMACategoryFilter
Class Summary
class NMACategoryFilter
Derived from: NSObject
Represents a filter used when performing a search for popular places within a specific location (exploring).
Include: NMAKit.framework/headers/NMACategoryFilter.h
[For complete information, see the section Class Details]
Instance Method Summary
Instance Method Summary |
---|
Adds a NMACategoryFilterType to the NMACategoryFilter |
Adds an NMACategory's uniqueId to the NMACategoryFilter |
|
Returns a stringified NMACategoryFilter, within which individual categories are separated by commas |
Class Details
Represents a filter used when performing a search for popular places within a specific location (exploring). The filter limits a search to specified categories.
Instance Method Details
-(void) addCategoryFilterFromType:( NMACategoryFilterType ) categoryFilterType
Adds a NMACategoryFilterType to the NMACategoryFilter.
Parameters:
-
categoryFilterType
An NMACategoryFilterType filter
-(void) addCategoryFilterFromUniqueId:(nonnull NSString *) uniqueId
Adds an NMACategory's uniqueId to the NMACategoryFilter.
Parameters:
-
uniqueId
An NSString for NMACategory's uniqueId
-(nonnull instancetype) init
-(nonnull NSString *) toString
Returns a stringified NMACategoryFilter, within which individual categories are separated by commas.
Returns:
The stringified, comma-delimited set of categories.