Важно
This feature is available in the Full MapKit SDK version
YMKSearchFeature
class YMKSearchFeature : 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: YMKSearchFeatureVariantValue { get } |
var name: String? { get } |
var aref: String? { get } Optional field, can be nil |
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: YMKSearchFeatureVariantValue { 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 YMKAttribution)
Optional field, can be nil.
iconLight
var iconLight: YMKImage? { get } |
Optional field, can be nil.
iconDark
var iconDark: YMKImage? { get } |
Optional field, can be nil.