Class Feature.FeatureEnumValue

com.yandex.mapkit.search

java.lang.Object ⇽ Feature.FeatureEnumValue

public class Feature.FeatureEnumValue

Enclosing Class:
Feature

Value for enumerated features.

Methods

FeatureEnumValue(@NonNull String id, @NonNull String name, @Nullable String imageUrlTemplate)
FeatureEnumValue()

Use constructor with parameters in your code.

String getId()

Machine readable value identifier.

String getImageUrlTemplate()

urlTemplate for the image.

String getName()

Human readable localized representation.

void serialize(Archive archive)

Method Detail

FeatureEnumValue

public FeatureEnumValue (@NonNull String id, @NonNull String name, @Nullable String imageUrlTemplate)

FeatureEnumValue

public FeatureEnumValue ()

Use constructor with parameters in your code.

This one is for bindings only!

getId

public String getId ()

Machine readable value identifier.

getImageUrlTemplate

public String getImageUrlTemplate ()

urlTemplate for the image.

Available sizes are listed here: http://api.yandex.ru/fotki/doc/format-ref/f-img.xmlOptional field, can be null.

getName

public String getName ()

Human readable localized representation.

serialize

public void serialize (Archive archive)