Class SimulateGattConnectionResponseCommandParameters
- Namespace
- WebDriverBiDi.Bluetooth
- Assembly
- WebDriverBiDi.dll
Provides parameters for the bluetooth.simulateGattConnectionResponse command.
public class SimulateGattConnectionResponseCommandParameters : CommandParameters<SimulateGattConnectionResponseCommandResult>
- Inheritance
-
SimulateGattConnectionResponseCommandParameters
- Inherited Members
Constructors
SimulateGattConnectionResponseCommandParameters(string, string, uint)
Initializes a new instance of the SimulateGattConnectionResponseCommandParameters class.
public SimulateGattConnectionResponseCommandParameters(string browsingContextId, string address, uint code)
Parameters
browsingContextIdstringThe ID of the browsing context for which to simulate the GATT connection response of the Bluetooth adapter.
addressstringThe address of the simulated device.
codeuintThe code of the simulated response.
Properties
Address
Gets or sets the address of the device for which to simulate the GATT response.
[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 response for the Bluetooth adapter.
[JsonPropertyName("context")]
public string BrowsingContextId { get; set; }
Property Value
Code
Gets or sets the code of the simulated GATT response.
[JsonPropertyName("code")]
public uint Code { get; set; }
Property Value
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }