Table of Contents

Class WebAudioAdapter

Namespace
OpenQA.Selenium.DevTools.V132.WebAudio
Assembly
WebDriver.dll

Represents an adapter for the WebAudio domain to simplify the command interface.

public class WebAudioAdapter
Inheritance
WebAudioAdapter
Inherited Members

Constructors

WebAudioAdapter(IDevToolsSession)

Initializes a new instance of the WebAudioAdapter class.

public WebAudioAdapter(IDevToolsSession session)

Parameters

session IDevToolsSession

The IDevToolsSession to be used with this adapter.

Properties

Session

Gets the DevToolsSession associated with the adapter.

public IDevToolsSession Session { get; }

Property Value

IDevToolsSession

Methods

Disable(DisableCommandSettings, CancellationToken, int?, bool)

disable

public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command DisableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<DisableCommandResponse>

Enable(EnableCommandSettings, CancellationToken, int?, bool)

enable

public Task<EnableCommandResponse> Enable(EnableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command EnableCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<EnableCommandResponse>

GetRealtimeData(GetRealtimeDataCommandSettings, CancellationToken, int?, bool)

getRealtimeData

public Task<GetRealtimeDataCommandResponse> GetRealtimeData(GetRealtimeDataCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)

Parameters

command GetRealtimeDataCommandSettings
cancellationToken CancellationToken
millisecondsTimeout int?
throwExceptionIfResponseNotReceived bool

Returns

Task<GetRealtimeDataCommandResponse>

Events

AudioListenerCreated

audioListenerCreated

public event EventHandler<AudioListenerCreatedEventArgs> AudioListenerCreated

Event Type

EventHandler<AudioListenerCreatedEventArgs>

AudioListenerWillBeDestroyed

audioListenerWillBeDestroyed

public event EventHandler<AudioListenerWillBeDestroyedEventArgs> AudioListenerWillBeDestroyed

Event Type

EventHandler<AudioListenerWillBeDestroyedEventArgs>

AudioNodeCreated

audioNodeCreated

public event EventHandler<AudioNodeCreatedEventArgs> AudioNodeCreated

Event Type

EventHandler<AudioNodeCreatedEventArgs>

AudioNodeWillBeDestroyed

audioNodeWillBeDestroyed

public event EventHandler<AudioNodeWillBeDestroyedEventArgs> AudioNodeWillBeDestroyed

Event Type

EventHandler<AudioNodeWillBeDestroyedEventArgs>

AudioParamCreated

audioParamCreated

public event EventHandler<AudioParamCreatedEventArgs> AudioParamCreated

Event Type

EventHandler<AudioParamCreatedEventArgs>

AudioParamWillBeDestroyed

audioParamWillBeDestroyed

public event EventHandler<AudioParamWillBeDestroyedEventArgs> AudioParamWillBeDestroyed

Event Type

EventHandler<AudioParamWillBeDestroyedEventArgs>

ContextChanged

contextChanged

public event EventHandler<ContextChangedEventArgs> ContextChanged

Event Type

EventHandler<ContextChangedEventArgs>

ContextCreated

contextCreated

public event EventHandler<ContextCreatedEventArgs> ContextCreated

Event Type

EventHandler<ContextCreatedEventArgs>

ContextWillBeDestroyed

contextWillBeDestroyed

public event EventHandler<ContextWillBeDestroyedEventArgs> ContextWillBeDestroyed

Event Type

EventHandler<ContextWillBeDestroyedEventArgs>

NodeParamConnected

nodeParamConnected

public event EventHandler<NodeParamConnectedEventArgs> NodeParamConnected

Event Type

EventHandler<NodeParamConnectedEventArgs>

NodeParamDisconnected

nodeParamDisconnected

public event EventHandler<NodeParamDisconnectedEventArgs> NodeParamDisconnected

Event Type

EventHandler<NodeParamDisconnectedEventArgs>

NodesConnected

nodesConnected

public event EventHandler<NodesConnectedEventArgs> NodesConnected

Event Type

EventHandler<NodesConnectedEventArgs>

NodesDisconnected

nodesDisconnected

public event EventHandler<NodesDisconnectedEventArgs> NodesDisconnected

Event Type

EventHandler<NodesDisconnectedEventArgs>