Class SimulateGattDisconnectionCommandParameters
- Namespace
- WebDriverBiDi.Bluetooth
- Assembly
- WebDriverBiDi.dll
Provides parameters for the bluetooth.simulateGattDisconnection command.
public class SimulateGattDisconnectionCommandParameters : CommandParameters<SimulateGattDisconnectionCommandResult>
- Inheritance
-
SimulateGattDisconnectionCommandParameters
- Inherited Members
Constructors
SimulateGattDisconnectionCommandParameters(string, string)
Initializes a new instance of the SimulateGattDisconnectionCommandParameters class.
public SimulateGattDisconnectionCommandParameters(string browsingContextId, string address)
Parameters
browsingContextIdstringThe ID of the browsing context for which to simulate the GATT disconnection of the Bluetooth adapter.
addressstringThe address of the simulated device.
Properties
Address
Gets or sets the address of the device for which to simulate the GATT disconnection.
[JsonPropertyName("address")]
public string Address { get; set; }
Property Value
BrowsingContextId
Gets or sets the ID of the browsing context for which to simulate the GATT disconnection for the Bluetooth adapter.
[JsonPropertyName("context")]
public string BrowsingContextId { get; set; }
Property Value
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }