AnimationParameterBuilders.AnimationParameters


@RequiresSchemaVersion(major = 1, minor = 200)
class AnimationParameterBuilders.AnimationParameters


Animation specs of duration, easing and repeat delay.

Summary

Public functions

@IntRange(from = 0) Long

Gets animation delay in millis.

@IntRange(from = 0) Long

Gets the duration of the animation in milliseconds.

AnimationParameterBuilders.Easing?

Gets the easing to be used for adjusting an animation's fraction.

String

Public functions

getDelayMillis

Added in 1.0.0
fun getDelayMillis(): @IntRange(from = 0) Long

Gets animation delay in millis. When used outside repeatable, this is the delay to start the animation in milliseconds. When set inside repeatable, this is the delay before repeating animation in milliseconds.

getDurationMillis

Added in 1.0.0
fun getDurationMillis(): @IntRange(from = 0) Long

Gets the duration of the animation in milliseconds.

getEasing

Added in 1.0.0
fun getEasing(): AnimationParameterBuilders.Easing?

Gets the easing to be used for adjusting an animation's fraction.

toString

fun toString(): String