pl.wendigo.chrome.domain.animation / AnimationDomain

AnimationDomain

class AnimationDomain (source)

AnimationDomain represents remote debugger protocol domain.

Functions

animationCanceled

fun animationCanceled(): Flowable<AnimationCanceledEvent>

Event for when an animation has been cancelled.

animationCanceledTimed

fun animationCanceledTimed(): Flowable<Timed<AnimationCanceledEvent>>

Event for when an animation has been cancelled.

animationCreated

fun animationCreated(): Flowable<AnimationCreatedEvent>

Event for each animation that has been created.

animationCreatedTimed

fun animationCreatedTimed(): Flowable<Timed<AnimationCreatedEvent>>

Event for each animation that has been created.

animationStarted

fun animationStarted(): Flowable<AnimationStartedEvent>

Event for animation that has been started.

animationStartedTimed

fun animationStartedTimed(): Flowable<Timed<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<ProtocolEvent>

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.