Class CastAdapter
Represents an adapter for the Cast domain to simplify the command interface.
public class CastAdapter- Inheritance
- 
      
      CastAdapter
- Inherited Members
Constructors
CastAdapter(IDevToolsSession)
Initializes a new instance of the CastAdapter class.
public CastAdapter(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, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandEnableCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
SetSinkToUse(SetSinkToUseCommandSettings, CancellationToken, int?, bool)
setSinkToUse
public Task<SetSinkToUseCommandResponse?> SetSinkToUse(SetSinkToUseCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandSetSinkToUseCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
StartDesktopMirroring(StartDesktopMirroringCommandSettings, CancellationToken, int?, bool)
startDesktopMirroring
public Task<StartDesktopMirroringCommandResponse?> StartDesktopMirroring(StartDesktopMirroringCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandStartDesktopMirroringCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
StartTabMirroring(StartTabMirroringCommandSettings, CancellationToken, int?, bool)
startTabMirroring
public Task<StartTabMirroringCommandResponse?> StartTabMirroring(StartTabMirroringCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandStartTabMirroringCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
StopCasting(StopCastingCommandSettings, CancellationToken, int?, bool)
stopCasting
public Task<StopCastingCommandResponse?> StopCasting(StopCastingCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)Parameters
- commandStopCastingCommandSettings
- cancellationTokenCancellationToken
- millisecondsTimeoutint?
- throwExceptionIfResponseNotReceivedbool
Returns
Events
IssueUpdated
issueUpdated
public event EventHandler<IssueUpdatedEventArgs>? IssueUpdatedEvent Type
SinksUpdated
sinksUpdated
public event EventHandler<SinksUpdatedEventArgs>? SinksUpdated