Class AnimationAdapter
Represents an adapter for the Animation domain to simplify the command interface.
public class AnimationAdapter- Inheritance
- 
      
      AnimationAdapter
- Inherited Members
Constructors
AnimationAdapter(IDevToolsSession)
Initializes a new instance of the AnimationAdapter class.
public AnimationAdapter(IDevToolsSession session)Parameters
- sessionIDevToolsSession
- The IDevToolsSession to be used with this adapter. 
Exceptions
- ArgumentNullException
- If - sessionis null.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }Property Value
Methods
Disable(DisableCommandSettings?, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse?> Disable(DisableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandDisableCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Enable(EnableCommandSettings?, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse?> Enable(EnableCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandEnableCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
GetCurrentTime(GetCurrentTimeCommandSettings, CancellationToken, int?, bool)
getCurrentTime
public Task<GetCurrentTimeCommandResponse> GetCurrentTime(GetCurrentTimeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetCurrentTimeCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
GetPlaybackRate(GetPlaybackRateCommandSettings?, CancellationToken, int?, bool)
getPlaybackRate
public Task<GetPlaybackRateCommandResponse> GetPlaybackRate(GetPlaybackRateCommandSettings? command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandGetPlaybackRateCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
ReleaseAnimations(ReleaseAnimationsCommandSettings, CancellationToken, int?, bool)
releaseAnimations
public Task<ReleaseAnimationsCommandResponse?> ReleaseAnimations(ReleaseAnimationsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandReleaseAnimationsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
ResolveAnimation(ResolveAnimationCommandSettings, CancellationToken, int?, bool)
resolveAnimation
public Task<ResolveAnimationCommandResponse> ResolveAnimation(ResolveAnimationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandResolveAnimationCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SeekAnimations(SeekAnimationsCommandSettings, CancellationToken, int?, bool)
seekAnimations
public Task<SeekAnimationsCommandResponse?> SeekAnimations(SeekAnimationsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSeekAnimationsCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetPaused(SetPausedCommandSettings, CancellationToken, int?, bool)
setPaused
public Task<SetPausedCommandResponse?> SetPaused(SetPausedCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetPausedCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetPlaybackRate(SetPlaybackRateCommandSettings, CancellationToken, int?, bool)
setPlaybackRate
public Task<SetPlaybackRateCommandResponse?> SetPlaybackRate(SetPlaybackRateCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetPlaybackRateCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetTiming(SetTimingCommandSettings, CancellationToken, int?, bool)
setTiming
public Task<SetTimingCommandResponse?> SetTiming(SetTimingCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetTimingCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Events
AnimationCanceled
animationCanceled
public event EventHandler<AnimationCanceledEventArgs>? AnimationCanceledEvent Type
AnimationCreated
animationCreated
public event EventHandler<AnimationCreatedEventArgs>? AnimationCreatedEvent Type
AnimationStarted
animationStarted
public event EventHandler<AnimationStartedEventArgs>? AnimationStartedEvent Type
AnimationUpdated
animationUpdated
public event EventHandler<AnimationUpdatedEventArgs>? AnimationUpdated