Class Animation

com.yandex.mapkit

java.lang.Object ⇽ Animation

public class Animation

The animation that is used to switch between states.

Nested Classes

Constructors

Animation(@NonNull Type type, float duration)
Animation()

Use constructor with parameters in your code.

Methods

float getDuration()

Animation duration, in seconds.

Type getType()

Animation type.

void serialize(Archive archive)

Constructor Detail

Animation

public Animation (@NonNull Type type, float duration)

Animation

public Animation ()

Use constructor with parameters in your code.

This one is for bindings only!

Method Detail

getDuration

public float getDuration ()

Animation duration, in seconds.

getType

public Type getType ()

Animation type.

serialize

public void serialize (Archive archive)