Warning
This feature is available in the Full MapKit SDK version
MMKSearchBusinessResultMetadata
class MMKSearchBusinessResultMetadata : NSObject |
Common info for business search response.
Summary
Class methods
init(categories: [MMKSearchCategory], |
Properties
var categories: [MMKSearchCategory] { get } |
var chains: [MMKSearchChain] { get } |
var businessFilters: [MMKSearchBusinessFilter] { get } |
var importantFilters: MMKSearchFilterSet? { get } |
var pricesCurrencies: [String] { get } |
Class methods
init(categories:chains:businessFilters:importantFilters:pricesCurrencies:)
init(categories: [MMKSearchCategory], |
Properties
categories
var categories: [MMKSearchCategory] { get } |
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
var chains: [MMKSearchChain] { get } |
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
var businessFilters: [MMKSearchBusinessFilter] { get } |
List of applicable filters.
importantFilters
var importantFilters: MMKSearchFilterSet? { get } |
Collection of filters that probably are of utmost interest to the user.
Optional field, can be nil.
pricesCurrencies
var pricesCurrencies: [String] { get } |
Relevant currency for the prices