Важно
This feature is available in the Full MapKit SDK version
Package com.yandex.mapkit.search
Class EnumValue
java.lang.Object
↳ com.yandex.mapkit.search.BusinessFilter.EnumValue
static class EnumValue implements Serializable
Value for enum filters.
Summary
Constructors
Signature and Description |
EnumValue() |
EnumValue(@NonNull FeatureEnumValue value, |
Methods
Type and modifiers |
Method and Description |
|
getValue() |
|
getSelected() |
|
getDisabled() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
|
Constuctors
EnumValue
EnumValue() |
Use constructor with parameters in your code.
This one is for serialization only!
EnumValue
EnumValue(@NonNull FeatureEnumValue value, |
Methods
getValue
@NonNull |
Filter value.
Set in server response for selected filters.
getSelected
@Nullable |
Selected marker.
Set in server response for selected filters.
Optional field, can be null.
getDisabled
@Nullable |
Same as mapkit.search.BusinessFilter#disabled, but for this specific enum value.
Optional field, can be null.
serialize
@Override |
getNativeName
java.lang.String getNativeName() |