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],
          chains: [MMKSearchChain],
 businessFilters: [MMKSearchBusinessFilter],
 importantFilters: MMKSearchFilterSet?,
 pricesCurrencies: [String])

Properties

var categories: [MMKSearchCategory] { get }
List of categories (also known as rubrics) present in response

var chains: [MMKSearchChain] { get }
List of chains present in response

var businessFilters: [MMKSearchBusinessFilter] { get }
List of applicable filters

var importantFiltersMMKSearchFilterSet? { get }
Collection of filters that probably are of utmost interest to the user

var pricesCurrencies: [String] { get }
Relevant currency for the prices

Class methods

init(categories:chains:businessFilters:importantFilters:pricesCurrencies:)

 init(categories: [MMKSearchCategory],
          chains: [MMKSearchChain],
 businessFilters: [MMKSearchBusinessFilter],
 importantFilters: MMKSearchFilterSet?,
 pricesCurrencies: [String])


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