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.
duration
- Duration of the animation.
timeUnit
- Determines the time unit for the animation duration.
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. |
val duration: Long
Duration of the animation. |
|
val timeUnit: TimeUnit
Determines the time unit for the animation duration. |