Class SimulateDescriptorCommandParameters
- Namespace
- WebDriverBiDi.Bluetooth
- Assembly
- WebDriverBiDi.dll
Provides parameters for the bluetooth.simulateDescriptor command.
public class SimulateDescriptorCommandParameters : CommandParameters<SimulateDescriptorCommandResult>
- Inheritance
-
SimulateDescriptorCommandParameters
- Inherited Members
Constructors
SimulateDescriptorCommandParameters(string, string, string, string, string, SimulateDescriptorType)
Initializes a new instance of the SimulateDescriptorCommandParameters class.
public SimulateDescriptorCommandParameters(string browsingContextId, string address, string serviceUuid, string characteristicUuid, string descriptorUuid, SimulateDescriptorType type)
Parameters
browsingContextIdstringThe ID of the browsing context for which to simulate the descriptor on the Bluetooth adapter.
addressstringThe address of the simulated device.
serviceUuidstringThe UUID of the service to simulate.
characteristicUuidstringThe UUID of the characteristic to simulate.
descriptorUuidstringThe UUID of the descriptor to simulate.
typeSimulateDescriptorTypeThe SimulateDescriptorType value for the type of simulation for the descriptor.
Properties
Address
Gets or sets the address of the device for which to simulate the descriptor.
[JsonPropertyName("address")]
public string Address { get; set; }
Property Value
BrowsingContextId
Gets or sets the ID of the browsing context for which to simulate a descriptor on the Bluetooth adapter.
[JsonPropertyName("context")]
public string BrowsingContextId { get; set; }
Property Value
CharacteristicUuid
Gets or sets the UUID of the characteristic to simulate.
[JsonPropertyName("characteristicUuid")]
public string CharacteristicUuid { get; set; }
Property Value
DescriptorUuid
Gets or sets the UUID of the descriptor to simulate.
[JsonPropertyName("descriptorUuid")]
public string DescriptorUuid { get; set; }
Property Value
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }
Property Value
ServiceUuid
Gets or sets the UUID of the service to simulate.
[JsonPropertyName("serviceUuid")]
public string ServiceUuid { get; set; }
Property Value
Type
Gets or sets the type of simulation of the descriptor.
[JsonPropertyName("type")]
public SimulateDescriptorType Type { get; set; }