Warning
This feature is available in the Full MapKit SDK version
MMKSearchBusinessResultMetadata
@interface MMKSearchBusinessResultMetadata : NSObject |
Common info for business search response.
Summary
Class methods
+ (nonnull MMKSearchBusinessResultMetadata *)businessResultMetadataWithCategories:(nonnull NSArray<MMKSearchCategory *> *)categories |
Properties
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) NSArray<MMKSearchChain *> *chains; |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nullable) MMKSearchFilterSet *importantFilters; |
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *pricesCurrencies; |
Class methods
businessResultMetadataWithCategories:chains:businessFilters:importantFilters:pricesCurrencies:
+ (nonnull MMKSearchBusinessResultMetadata *)businessResultMetadataWithCategories:(nonnull NSArray<MMKSearchCategory *> *)categories |
Properties
categories
@property (nonatomic, readonly, nonnull) |
List of categories (also known as rubrics) present in response. Non-empty list means that the request was treated as a 'category request' by the server (for example requests like "where to eat", "cinema", and other).
chains
@property (nonatomic, readonly, nonnull) NSArray<MMKSearchChain *> *chains; |
List of chains present in response. Non-empty list means that the request was treaded as 'chain request' (for example "mcdonalds", "starbucks", and other).
businessFilters
@property (nonatomic, readonly, nonnull) |
List of applicable filters.
importantFilters
@property (nonatomic, readonly, nullable) MMKSearchFilterSet *importantFilters; |
Collection of filters that probably are of utmost interest to the user.
Optional field, can be nil.
pricesCurrencies
@property (nonatomic, readonly, nonnull) NSArray<NSString *> *pricesCurrencies; |
Relevant currency for the prices