Package com.yandex.mapkit
Class Animation
java.lang.Object
↳ com.yandex.mapkit.Animation
class Animation implements Serializable
The animation that is used to switch between states.
Nested Class Summary
Modifier and Type |
Interface |
Description |
|
Available animation types. |
Summary
Constructors
Signature and Description |
Animation() |
Methods
Type and modifiers |
Method and Description |
getType() |
|
float |
getDuration() |
void |
serialize(com.yandex.runtime.bindings.Archive archive) |
Constuctors
Animation
Animation(@NonNull Type type, |
Animation
Animation() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getType
@NonNull |
Animation type.
getDuration
float getDuration() |
Animation duration, in seconds.
serialize
@Override |