class TransitionInfo


Represents a transition of the Compose animation.

Summary

Public constructors

TransitionInfo(
    label: String,
    specType: String,
    startTimeMillis: Long,
    endTimeMillis: Long,
    values: Map<Long, Any?>
)

Public properties

Long

The animation duration including the delay.

String

The label of the animation.

String

The java class name of the spec.

Long

The animation delay if it has one.

Map<Long, Any?>

Animation values at given times from startTimeMillis to endTimeMillis with a step.

Public constructors

TransitionInfo

TransitionInfo(
    label: String,
    specType: String,
    startTimeMillis: Long,
    endTimeMillis: Long,
    values: Map<Long, Any?>
)

Public properties

endTimeMillis

Added in 1.1.0
val endTimeMillis: Long

The animation duration including the delay.

label

Added in 1.1.0
val label: String

The label of the animation.

specType

Added in 1.1.0
val specType: String

The java class name of the spec.

startTimeMillis

Added in 1.1.0
val startTimeMillis: Long

The animation delay if it has one.

values

Added in 1.1.0
val values: Map<Long, Any?>

Animation values at given times from startTimeMillis to endTimeMillis with a step.