Table of Contents

Class HandleRequestDevicePromptAcceptCommandParameters

Namespace
WebDriverBiDi.Bluetooth
Assembly
WebDriverBiDi.dll

Provides parameters for the bluetooth.handleRequestDevicePrompt command to accept the prompt.

public class HandleRequestDevicePromptAcceptCommandParameters : HandleRequestDevicePromptCommandParameters
Inheritance
HandleRequestDevicePromptAcceptCommandParameters
Inherited Members

Constructors

HandleRequestDevicePromptAcceptCommandParameters(string, string, string)

Initializes a new instance of the HandleRequestDevicePromptAcceptCommandParameters class to accept the device prompt.

public HandleRequestDevicePromptAcceptCommandParameters(string browsingContextId, string promptId, string deviceId)

Parameters

browsingContextId string

The browsing context ID for which to accept the prompt.

promptId string

The ID of the prompt to accept.

deviceId string

The ID of the device for which to accept the prompt.

Properties

DeviceId

Gets or sets the ID of the device for which to accept the prompt.

[JsonIgnore]
public string DeviceId { get; set; }

Property Value

string

Exceptions

InvalidOperationException

Thrown when read before a device ID has been set.

ArgumentNullException

Thrown when a null is assigned.