pl.wendigo.chrome.api.animation / AnimationOperations

AnimationOperations

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.

Functions

animationCanceled

fun animationCanceled(): Flowable<AnimationCanceledEvent>

Event for when an animation has been cancelled.

animationCreated

fun animationCreated(): Flowable<AnimationCreatedEvent>

Event for each animation that has been created.

animationStarted

fun animationStarted(): Flowable<AnimationStartedEvent>

Event for animation that has been started.

disable

fun disable(): Single<ResponseFrame>

Disables animation domain notifications.

enable

fun enable(): Single<ResponseFrame>

Enables animation domain notifications.

events

fun events(): Flowable<Event>

Returns flowable capturing all Animation domains events.

getCurrentTime

fun getCurrentTime(input: GetCurrentTimeRequest): Single<GetCurrentTimeResponse>

Returns the current time of the an animation.

getPlaybackRate

fun getPlaybackRate(): Single<GetPlaybackRateResponse>

Gets the playback rate of the document timeline.

releaseAnimations

fun releaseAnimations(input: ReleaseAnimationsRequest): Single<ResponseFrame>

Releases a set of animations to no longer be manipulated.

resolveAnimation

fun resolveAnimation(input: ResolveAnimationRequest): Single<ResolveAnimationResponse>

Gets the remote object of the Animation.

seekAnimations

fun seekAnimations(input: SeekAnimationsRequest): Single<ResponseFrame>

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

setPaused

fun setPaused(input: SetPausedRequest): Single<ResponseFrame>

Sets the paused state of a set of animations.

setPlaybackRate

fun setPlaybackRate(input: SetPlaybackRateRequest): Single<ResponseFrame>

Sets the playback rate of the document timeline.

setTiming

fun setTiming(input: SetTimingRequest): Single<ResponseFrame>

Sets the timing of an animation node.