class AnimationDomain
animationCanceled |
Event for when an animation has been cancelled. fun animationCanceled(): Flow<AnimationCanceledEvent> |
animationCreated |
Event for each animation that has been created. fun animationCreated(): Flow<AnimationCreatedEvent> |
animationStarted |
Event for animation that has been started. fun animationStarted(): Flow<AnimationStartedEvent> |
disable |
Disables animation domain notifications. suspend fun disable(): Unit |
enable |
Enables animation domain notifications. suspend fun enable(): Unit |
events |
Subscribes to all events related to this domain. fun events(): Flow<AnimationEvent> |
getCurrentTime |
Returns the current time of the an animation. suspend fun getCurrentTime(input: GetCurrentTimeRequest): GetCurrentTimeResponse |
getPlaybackRate |
Gets the playback rate of the document timeline. suspend fun getPlaybackRate(): GetPlaybackRateResponse |
releaseAnimations |
Releases a set of animations to no longer be manipulated. suspend fun releaseAnimations(input: ReleaseAnimationsRequest): Unit |
resolveAnimation |
Gets the remote object of the Animation. suspend fun resolveAnimation(input: ResolveAnimationRequest): ResolveAnimationResponse |
seekAnimations |
Seek a set of animations to a particular time within each animation. suspend fun seekAnimations(input: SeekAnimationsRequest): Unit |
setPaused |
Sets the paused state of a set of animations. suspend fun setPaused(input: SetPausedRequest): Unit |
setPlaybackRate |
Sets the playback rate of the document timeline. suspend fun setPlaybackRate(input: SetPlaybackRateRequest): Unit |
setTiming |
Sets the timing of an animation node. suspend fun setTiming(input: SetTimingRequest): Unit |