-
public final class AnimationDomain
-
-
Method Summary
Modifier and Type Method Description final Flow<AnimationEvent>events()Subscribes to all events related to this domain. final Flow<AnimationEvent.AnimationCanceledEvent>animationCanceled()Event for when an animation has been cancelled. final Flow<AnimationEvent.AnimationCreatedEvent>animationCreated()Event for each animation that has been created. final Flow<AnimationEvent.AnimationStartedEvent>animationStarted()Event for animation that has been started. final Unitdisable()Disables animation domain notifications. final Unitenable()Enables animation domain notifications. final GetCurrentTimeResponsegetCurrentTime(GetCurrentTimeRequest input)Returns the current time of the an animation. final GetPlaybackRateResponsegetPlaybackRate()Gets the playback rate of the document timeline. final UnitreleaseAnimations(ReleaseAnimationsRequest input)Releases a set of animations to no longer be manipulated. final ResolveAnimationResponseresolveAnimation(ResolveAnimationRequest input)Gets the remote object of the Animation. final UnitseekAnimations(SeekAnimationsRequest input)Seek a set of animations to a particular time within each animation. final UnitsetPaused(SetPausedRequest input)Sets the paused state of a set of animations. final UnitsetPlaybackRate(SetPlaybackRateRequest input)Sets the playback rate of the document timeline. final UnitsetTiming(SetTimingRequest input)Sets the timing of an animation node. -
-
Method Detail
-
events
final Flow<AnimationEvent> events()
Subscribes to all events related to this domain.
-
animationCanceled
final Flow<AnimationEvent.AnimationCanceledEvent> animationCanceled()
Event for when an animation has been cancelled.
-
animationCreated
final Flow<AnimationEvent.AnimationCreatedEvent> animationCreated()
Event for each animation that has been created.
-
animationStarted
final Flow<AnimationEvent.AnimationStartedEvent> animationStarted()
Event for animation that has been started.
-
getCurrentTime
final GetCurrentTimeResponse getCurrentTime(GetCurrentTimeRequest input)
Returns the current time of the an animation.
-
getPlaybackRate
final GetPlaybackRateResponse getPlaybackRate()
Gets the playback rate of the document timeline.
-
releaseAnimations
final Unit releaseAnimations(ReleaseAnimationsRequest input)
Releases a set of animations to no longer be manipulated.
-
resolveAnimation
final ResolveAnimationResponse resolveAnimation(ResolveAnimationRequest input)
Gets the remote object of the Animation.
-
seekAnimations
final Unit seekAnimations(SeekAnimationsRequest input)
Seek a set of animations to a particular time within each animation.
-
setPaused
final Unit setPaused(SetPausedRequest input)
Sets the paused state of a set of animations.
-
setPlaybackRate
final Unit setPlaybackRate(SetPlaybackRateRequest input)
Sets the playback rate of the document timeline.
-
setTiming
final Unit setTiming(SetTimingRequest input)
Sets the timing of an animation node.
-
-
-
-