Class BusinessFilter.EnumValue

com.yandex.mapkit.search

java.lang.Object ⇽ BusinessFilter.EnumValue

public class BusinessFilter.EnumValue

Enclosing Class:
BusinessFilter

Value for enum filters.

Methods

EnumValue(@NonNull FeatureEnumValue value, @Nullable Boolean selected, @Nullable Boolean disabled)
EnumValue()

Use constructor with parameters in your code.

Boolean getDisabled()

Same as BusinessFilter#disabled, but for this specific enum value.

Boolean getSelected()

Selected marker.

FeatureEnumValue getValue()

Filter value.

void serialize(Archive archive)

Method Detail

EnumValue

public EnumValue (@NonNull FeatureEnumValue value, @Nullable Boolean selected, @Nullable Boolean disabled)

EnumValue

public EnumValue ()

Use constructor with parameters in your code.

This one is for bindings only!

getDisabled

public Boolean getDisabled ()

Same as BusinessFilter#disabled, but for this specific enum value.

Optional field, can be null.

getSelected

public Boolean getSelected ()

Selected marker.

Set in server response for selected filters.Optional field, can be null.

getValue

public FeatureEnumValue getValue ()

Filter value.

Set in server response for selected filters.

serialize

public void serialize (Archive archive)