class AnimationOperations
(source)
AnimationOperations represents Animation protocol domain request/response operations and events that can be captured.
This API is marked as experimental in protocol definition and can change in the future.
Link
Protocol Animation domain documentation.
fun animationCanceled(): Flowable<AnimationCanceledEvent>
Event for when an animation has been cancelled. |
|
fun animationCreated(): Flowable<AnimationCreatedEvent>
Event for each animation that has been created. |
|
fun animationStarted(): Flowable<AnimationStartedEvent>
Event for animation that has been started. |
|
fun disable(): Single<ResponseFrame>
Disables animation domain notifications. |
|
fun enable(): Single<ResponseFrame>
Enables animation domain notifications. |
|
fun events(): Flowable<Event>
Returns flowable capturing all Animation domains events. |
|
fun getCurrentTime(input: GetCurrentTimeRequest): Single<GetCurrentTimeResponse>
Returns the current time of the an animation. |
|
fun getPlaybackRate(): Single<GetPlaybackRateResponse>
Gets the playback rate of the document timeline. |
|
fun releaseAnimations(input: ReleaseAnimationsRequest): Single<ResponseFrame>
Releases a set of animations to no longer be manipulated. |
|
fun resolveAnimation(input: ResolveAnimationRequest): Single<ResolveAnimationResponse>
Gets the remote object of the Animation. |
|
fun seekAnimations(input: SeekAnimationsRequest): Single<ResponseFrame>
Seek a set of animations to a particular time within each animation. |
|
fun setPaused(input: SetPausedRequest): Single<ResponseFrame>
Sets the paused state of a set of animations. |
|
fun setPlaybackRate(input: SetPlaybackRateRequest): Single<ResponseFrame>
Sets the playback rate of the document timeline. |
|
fun setTiming(input: SetTimingRequest): Single<ResponseFrame>
Sets the timing of an animation node. |