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
browsingContextIdstringThe browsing context ID for which to accept the prompt.
promptIdstringThe ID of the prompt to accept.
deviceIdstringThe 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
Exceptions
- InvalidOperationException
Thrown when read before a device ID has been set.
- ArgumentNullException
Thrown when a null is assigned.