AnimationParameterBuilders


class AnimationParameterBuilders


Builders for parameters that can be used to customize an animation.

Summary

Nested types

Animation specs of duration, easing and repeat delay.

Builder for AnimationParameters

Animation parameters that can be added to any animatable node.

Builder for AnimationSpec

@RequiresSchemaVersion(major = 1, minor = 200)
interface AnimationParameterBuilders.Easing

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

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

Builder for Repeatable

Constants

const Int
@RequiresSchemaVersion(major = 1, minor = 200)
REPEAT_MODE_RESTART = 1

The repeat mode where animation restarts from the beginning when repeated.

const Int
@RequiresSchemaVersion(major = 1, minor = 200)
REPEAT_MODE_REVERSE = 2

The repeat mode where animation is played in reverse when repeated.

const Int
@RequiresSchemaVersion(major = 1, minor = 200)
REPEAT_MODE_UNKNOWN = 0

The unknown repeat mode.

Constants

REPEAT_MODE_RESTART

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
const val REPEAT_MODE_RESTART = 1: Int

The repeat mode where animation restarts from the beginning when repeated.

REPEAT_MODE_REVERSE

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
const val REPEAT_MODE_REVERSE = 2: Int

The repeat mode where animation is played in reverse when repeated.

REPEAT_MODE_UNKNOWN

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
const val REPEAT_MODE_UNKNOWN = 0: Int

The unknown repeat mode.