enum ComposeAnimationType : Enum<ComposeAnimationType>


Type of the animation. Different types might have different properties, for example a TransitionAnimation (represented by TRANSITION_ANIMATION) has a set of states associated with it.

Summary

Enum Values

ANIMATABLE

Animatable compose animation.

ANIMATED_CONTENT

AnimatedContent animation.

ANIMATED_VALUE
ANIMATED_VISIBILITY
ANIMATE_CONTENT_SIZE

animateContentSize compose animation.

ANIMATE_X_AS_STATE

animateXAsState animations, for example animateDpAsState, animateIntAsState.

DECAY_ANIMATION

DecayAnimation animation.

INFINITE_TRANSITION

rememberInfiniteTransition animation.

TARGET_BASED_ANIMATION

TargetBasedAnimation animation.

TRANSITION_ANIMATION
TRIGGER

Trigger allowing changing the state of Composable.

UNSUPPORTED

Detected animation without a support - only ComposeAnimation.label and ComposeAnimation.type are provided.

Public functions

ComposeAnimationType
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<ComposeAnimationType>

Returns an array containing the constants of this enum type, in the order they're declared.

Public properties

EnumEntries<ComposeAnimationType>

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.

Enum Values

ANIMATABLE

val ComposeAnimationType.ANIMATABLE: ComposeAnimationType

Animatable compose animation.

ANIMATED_CONTENT

val ComposeAnimationType.ANIMATED_CONTENT: ComposeAnimationType

AnimatedContent animation.

ANIMATE_CONTENT_SIZE

val ComposeAnimationType.ANIMATE_CONTENT_SIZE: ComposeAnimationType

animateContentSize compose animation.

ANIMATE_X_AS_STATE

val ComposeAnimationType.ANIMATE_X_AS_STATE: ComposeAnimationType

animateXAsState animations, for example animateDpAsState, animateIntAsState. Includes animateValueAsState.

DECAY_ANIMATION

val ComposeAnimationType.DECAY_ANIMATION: ComposeAnimationType

DecayAnimation animation.

INFINITE_TRANSITION

val ComposeAnimationType.INFINITE_TRANSITION: ComposeAnimationType

rememberInfiniteTransition animation.

TARGET_BASED_ANIMATION

val ComposeAnimationType.TARGET_BASED_ANIMATION: ComposeAnimationType

TargetBasedAnimation animation.

TRIGGER

val ComposeAnimationType.TRIGGER: ComposeAnimationType

Trigger allowing changing the state of Composable.

UNSUPPORTED

val ComposeAnimationType.UNSUPPORTED: ComposeAnimationType

Detected animation without a support - only ComposeAnimation.label and ComposeAnimation.type are provided.

Public functions

valueOf

Added in 1.0.0
fun valueOf(value: String): ComposeAnimationType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.0.0
fun values(): Array<ComposeAnimationType>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

The function returns a new instance of the array on every call. The array could be mutated, so working with it may also require defensive copying. Consider using entries property as a more efficient alternative returning an immutable list of enum entries.

Public properties

entries

val entries: EnumEntries<ComposeAnimationType>

Returns an immutable kotlin.enums.EnumEntries list containing the constants of this enum type, in the order they're declared.