MMKSearchFeature
Warning
This feature is available in the Full MapKit SDK version
|
class MMKSearchFeature : NSObject |
Describes some common feature of organizations. Can be of three types:
-
boolean (like on/off switch, as for free Wi-Fi availability).
-
enumerated (can have multiple values at once, like cuisine types in a cafe).
-
text (like enumerated but with any strings instead of predefined values).
Summary
Class methods
|
 init(id: String, |
Properties
|
var id: String { get } |
|
var value: MMKSearchFeatureVariantValue { get } |
|
var name: String? { get } |
|
var aref: String? { get } Optional field, can be nil |
|
var iconLight: MMKImage? { get } |
|
var iconDark: MMKImage? { get } |
Class methods
init(id:value:name:aref:iconLight:iconDark:)
|
 init(id: String, |
Properties
id
|
var id: String { get } |
Machine readable feature identifier.
value
|
var value: MMKSearchFeatureVariantValue { get } |
Feature value (depends on feature type).
name
|
var name: String? { get } |
Human readable localized representation.
Optional field, can be nil.
aref
|
var aref: String? { get } |
Reference to information source providing given feature (see MMKAttribution)
Optional field, can be nil.
iconLight
|
var iconLight: MMKImage? { get } |
Optional field, can be nil.
iconDark
|
var iconDark: MMKImage? { get } |
Optional field, can be nil.