Class YMKSearchFeature

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).

Class Methods

Properties

aref

Reference to information source providing given feature (see YMKAttribution)

id

Machine readable feature identifier.

name

Human readable localized representation.

value

Feature value (depends on feature type).

Method Detail

+featureWithId:value:name:aref:

+ (nonnull YMKSearchFeature *)featureWithId:(nonnull NSString *)id
                                      value:(nonnull YMKSearchFeatureVariantValue *)value
                                       name:(nullable NSString *)name
                                       aref:(nullable NSString *)aref 

Property Detail

aref

(assign, readonly) NSString * aref

Reference to information source providing given feature (see YMKAttribution)

Optional property, can be null.

id

(assign, readonly) NSString * id

Machine readable feature identifier.

name

(assign, readonly) NSString * name

Human readable localized representation.

Optional property, can be null.

value

(assign, readonly) YMKSearchFeatureVariantValue * value

Feature value (depends on feature type).