sdk-maps / com.tomtom.online.sdk.map / AnimationDuration

AnimationDuration

class AnimationDuration

Describes the duration of an animation associated with a user-facing action. Creating an instance with the #createDefault() method uses the default duration, defined internally in the SDK.

Constructors

<init>

AnimationDuration(duration: Long, timeUnit: TimeUnit)

Build AnimationDuration for the given duration and TimeUnit.

Functions

createDefault

static fun createDefault(): AnimationDuration!

Creates a default instance that reflects a 1200 millisecond animation duration.

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String