Class Animation

Package com.yandex.mapkit

java.lang.Object
    ↳ com.yandex.mapkit.Animation

final class Animation implements Serializable

The animation that is used to switch between states.

Nested Class Summary

Modifier and Type

Interface

Description

static final

Type

Available animation types.

Summary

Constructors

Signature and Description

Animation(@NonNull Type type,
          float duration)

Animation()

Methods

Type and modifiers

Method and Description

Type

getType()
Animation type.

Animation

setType(@NonNull Type type)
See #getType().

float

getDuration()
Animation duration, in seconds.

Animation

setDuration(float duration)
See #getDuration().

void

serialize(com.yandex.runtime.bindings.Archive archive)

Constuctors

Animation

Animation(@NonNull Type type,
          float duration)


Animation

Animation()


Methods

getType

@NonNull
Type getType()

Animation type.


setType

Animation setType(@NonNull Type type)

See #getType().


getDuration

float getDuration()

Animation duration, in seconds.


setDuration

Animation setDuration(float duration)

See #getDuration().


serialize

@Override
void serialize(com.yandex.runtime.bindings.Archive archive)