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

AnimationDuration

data 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.

Parameters

duration - Duration of the animation.

timeUnit - Determines the time unit for the animation duration.

Constructors

<init>

AnimationDuration(duration: Long, timeUnit: TimeUnit)

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.

Properties

duration

val duration: Long

Duration of the animation.

timeUnit

val timeUnit: TimeUnit

Determines the time unit for the animation duration.