Warning

This feature is available in the Full MapKit SDK version

YMKSearchFeatureEnumValue

@interface YMKSearchFeatureEnumValue : NSObject

Value for enumerated features.

Summary

Class methods

+ (nonnull YMKSearchFeatureEnumValue *)enumValueWithId:(nonnull NSString *)id
                                                  name:(nonnull NSString *)name
                                      imageUrlTemplate:(nullable NSString *)imageUrlTemplate
                                                  tags:(nonnull NSArray<NSString *> *)tags;

Properties

@property (nonatomic, readonly, nonnull) NSString *id;
Machine readable value identifier

@property (nonatomic, readonly, nonnull) NSString *name;
Human readable localized representation

@property (nonatomic, readonly, nullable) NSString *imageUrlTemplate;
urlTemplate for the image

@property (nonatomic, readonly, nonnull) NSArray<NSString *> *tags;
Undocumented

Class methods

enumValueWithId:name:imageUrlTemplate:tags:

+ (nonnull YMKSearchFeatureEnumValue *)enumValueWithId:(nonnull NSString *)id
                                                  name:(nonnull NSString *)name
                                      imageUrlTemplate:(nullable NSString *)imageUrlTemplate
                                                  tags:(nonnull NSArray<NSString *> *)tags;


Properties

id

@property (nonatomic, readonly, nonnull) NSString *id;

Machine readable value identifier.


name

@property (nonatomic, readonly, nonnull) NSString *name;

Human readable localized representation.


imageUrlTemplate

@property (nonatomic, readonly, nullable) NSString *imageUrlTemplate;

urlTemplate for the image. Available sizes are listed here: http://api.yandex.ru/fotki/doc/format-ref/f-img.xml

Optional field, can be nil.


tags

@property (nonatomic, readonly, nonnull) NSArray<NSString *> *tags;

Undocumented