Interface Logo

com.yandex.mapkit.logo

public interface Logo

The object that allows to control logo display properties.

Methods

boolean isValid()

Tells if this Logo is valid or no.

void setAlignment(@NonNull Alignment alignment)

Set logo alignment in the container.

Method Detail

isValid

public boolean isValid ()

Tells if this Logo is valid or no.

Any other method (except for this one) called on an invalid Logo 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.

setAlignment

public void setAlignment (@NonNull Alignment alignment)

Set logo alignment in the container.