Table of Contents

Class SimulatePreconnectedPeripheralCommandParameters

Namespace
WebDriverBiDi.Bluetooth
Assembly
WebDriverBiDi.dll

Provides parameters for the bluetooth.simulatePreconnectedPeripheral command.

public class SimulatePreconnectedPeripheralCommandParameters : CommandParameters<SimulatePreconnectedPeripheralCommandResult>
Inheritance
SimulatePreconnectedPeripheralCommandParameters
Inherited Members

Constructors

SimulatePreconnectedPeripheralCommandParameters(string, string, string)

Initializes a new instance of the SimulatePreconnectedPeripheralCommandParameters class.

public SimulatePreconnectedPeripheralCommandParameters(string browsingContextId, string address, string name)

Parameters

browsingContextId string

The ID of the browsing context for which to simulate the already-connected Bluetooth peripheral.

address string

The address of the Bluetooth peripheral.

name string

The name of the Bluetooth peripheral.

Properties

Address

Gets or sets the address of the simulated already-connected Bluetooth peripheral.

[JsonPropertyName("address")]
public string Address { get; set; }

Property Value

string

BrowsingContextId

Gets or sets the ID of the browsing context for which to simulate the already-connected Bluetooth peripheral.

[JsonPropertyName("context")]
public string BrowsingContextId { get; set; }

Property Value

string

KnownServiceUUIDs

Gets the list of all of the known service UUIDs for the simulated already-connected Bluetooth peripheral.

[JsonPropertyName("knownServiceUuids")]
public List<string> KnownServiceUUIDs { get; }

Property Value

List<string>

ManufacturerData

Gets the list of all of the manufacturer data for the simulated already-connected Bluetooth peripheral.

[JsonPropertyName("manufacturerData")]
public List<BluetoothManufacturerData> ManufacturerData { get; }

Property Value

List<BluetoothManufacturerData>

MethodName

Gets the method name of the command.

[JsonIgnore]
public override string MethodName { get; }

Property Value

string

Name

Gets or sets the display name of the simulated already-connected Bluetooth peripheral.

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string