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

static final

Type

Available animation types.

Summary

Constructors

Signature and Description

Animation(@NonNull Type type,
          float duration)

Animation()
Use constructor with parameters in your code.

Methods

Type and modifiers

Method and Description

Type

getType()
Animation type.

float

getDuration()
Animation duration, in seconds.

void

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

Constuctors

Animation

Animation(@NonNull Type type,
          float duration)


Animation

Animation()

Use constructor with parameters in your code.

This one is for bindings only!


Methods

getType

@NonNull
Type getType()

Animation type.


getDuration

float getDuration()

Animation duration, in seconds.


serialize

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


Предыдущая
Следующая