AnimationParameterBuilders.Repeatable


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


The repeatable mode to be used for specifying how many times animation will be repeated.

Summary

Constants

const AnimationParameterBuilders.Repeatable!

An infinite Repeatable where animation restarts from the beginning when repeated.

const AnimationParameterBuilders.Repeatable!

An infinite Repeatable where animation is played in reverse when repeated.

Public functions

AnimationParameterBuilders.AnimationParameters?

Gets optional custom parameters for the forward passes of animation.

Int

Gets the number specifying how many times animation will be repeated. this method can only be called if hasInfiniteIteration is false.

Int

Gets the repeat mode to specify how animation will behave when repeated.

AnimationParameterBuilders.AnimationParameters?

Gets optional custom parameters for the reverse passes of animation.

Boolean

Returns true if the animation has indefinite repeat.

String

Constants

INFINITE_REPEATABLE_WITH_RESTART

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
const val INFINITE_REPEATABLE_WITH_RESTARTAnimationParameterBuilders.Repeatable!

An infinite Repeatable where animation restarts from the beginning when repeated.

INFINITE_REPEATABLE_WITH_REVERSE

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
const val INFINITE_REPEATABLE_WITH_REVERSEAnimationParameterBuilders.Repeatable!

An infinite Repeatable where animation is played in reverse when repeated.

Public functions

getForwardRepeatOverride

Added in 1.0.0
fun getForwardRepeatOverride(): AnimationParameterBuilders.AnimationParameters?

Gets optional custom parameters for the forward passes of animation.

getIterations

Added in 1.0.0
fun getIterations(): Int

Gets the number specifying how many times animation will be repeated. this method can only be called if hasInfiniteIteration is false.

getRepeatMode

Added in 1.0.0
fun getRepeatMode(): Int

Gets the repeat mode to specify how animation will behave when repeated.

getReverseRepeatOverride

Added in 1.0.0
fun getReverseRepeatOverride(): AnimationParameterBuilders.AnimationParameters?

Gets optional custom parameters for the reverse passes of animation.

hasInfiniteIteration

Added in 1.0.0
fun hasInfiniteIteration(): Boolean

Returns true if the animation has indefinite repeat.

toString

fun toString(): String