Interface SublayerFeatureFilter

com.yandex.mapkit.map

public interface SublayerFeatureFilter

Provides interface to filter features in a sublayer.

Methods

List< String > getTags()

Collection of tags to filter.

SublayerFeatureFilterType getType()

Describes how the specified class names should be filtered.

boolean isValid()

Tells if this SublayerFeatureFilter is valid or no.

void setTags(@NonNull List< String > tags)
void setType(@NonNull SublayerFeatureFilterType type)

Method Detail

getTags

public List< String > getTags ()

Collection of tags to filter.

getType

public SublayerFeatureFilterType getType ()

Describes how the specified class names should be filtered.

isValid

public boolean isValid ()

Tells if this SublayerFeatureFilter is valid or no.

Any other method (except for this one) called on an invalid SublayerFeatureFilter will throw java.lang.RuntimeException. An instance becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.

setTags

public void setTags (@NonNull List< String > tags)

setType

public void setType (@NonNull SublayerFeatureFilterType type)