AnimationDuration

data class AnimationDuration(val duration: Duration)

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.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

duration

Duration of the animation.

Constructors

Link copied to clipboard
fun AnimationDuration(duration: Duration)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val duration: Duration