Warning

This feature is available in the Full MapKit SDK version

MMKSearchFilterCollection

class MMKSearchFilterCollection : NSObject

Filters for search request. Use builder to setup this class.

Summary

Class methods

 init(booleanFilters: [String],
         enumFilters: [String : [String]],
        rangeFilters: [String : MMKSearchFilterCollectionNumberRange],
         dateFilters: [String : MMKSearchFilterCollectionDateRange])

Properties

var booleanFilters: [String] { get }
List of boolean filter ids to be set

var enumFilters: [String : [String]] { get }
Mapping of enum filter ids to list of enum value ids

var rangeFilters: [String : MMKSearchFilterCollectionNumberRange] { get }
Mapping of range filter ids to number range

var dateFilters: [String : MMKSearchFilterCollectionDateRange] { get }
Mapping of date filter ids to date range

Class methods

init(booleanFilters:enumFilters:rangeFilters:dateFilters:)

 init(booleanFilters: [String],
         enumFilters: [String : [String]],
        rangeFilters: [String : MMKSearchFilterCollectionNumberRange],
         dateFilters: [String : MMKSearchFilterCollectionDateRange])


Properties

booleanFilters

var booleanFilters: [String] { get }

List of boolean filter ids to be set.


enumFilters

var enumFilters: [String : [String]] { get }

Mapping of enum filter ids to list of enum value ids.


rangeFilters

var rangeFilters: [String : MMKSearchFilterCollectionNumberRange] { get }

Mapping of range filter ids to number range.


dateFilters

var dateFilters: [String : MMKSearchFilterCollectionDateRange] { get }

Mapping of date filter ids to date range.