AnimationDomain

Functions

Link copied to clipboard

Event for when an animation has been cancelled.

Link copied to clipboard
Link copied to clipboard

Event for each animation that has been created.

Link copied to clipboard
Link copied to clipboard

Event for animation that has been started.

Link copied to clipboard
suspend fun disable(): DisableResponse

Disables animation domain notifications.

Link copied to clipboard
suspend fun enable(): EnableResponse

Enables animation domain notifications.

Link copied to clipboard
fun events(): Flow<AnimationEvent>

Subscribes to all events related to this domain.

Link copied to clipboard

Returns the current time of the an animation.

Link copied to clipboard

Gets the playback rate of the document timeline.

Link copied to clipboard

Releases a set of animations to no longer be manipulated.

Link copied to clipboard

Gets the remote object of the Animation.

Link copied to clipboard
suspend fun seekAnimations(animations: List<String>, currentTime: Double): SeekAnimationsResponse

Seek a set of animations to a particular time within each animation.

Link copied to clipboard
suspend fun setPaused(animations: List<String>, paused: Boolean): SetPausedResponse

Sets the paused state of a set of animations.

Link copied to clipboard
suspend fun setPlaybackRate(playbackRate: Double): SetPlaybackRateResponse

Sets the playback rate of the document timeline.

Link copied to clipboard
suspend fun setTiming(animationId: String, duration: Double, delay: Double): SetTimingResponse

Sets the timing of an animation node.