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
browsingContextIdstringThe ID of the browsing context for which to simulate the already-connected Bluetooth peripheral.
addressstringThe address of the Bluetooth peripheral.
namestringThe 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
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
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
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
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }
Property Value
Name
Gets or sets the display name of the simulated already-connected Bluetooth peripheral.
[JsonPropertyName("name")]
public string Name { get; set; }