Table of Contents

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

browsingContextId string

The ID of the browsing context for which to simulate the descriptor on the Bluetooth adapter.

address string

The address of the simulated device.

serviceUuid string

The UUID of the service to simulate.

characteristicUuid string

The UUID of the characteristic to simulate.

descriptorUuid string

The UUID of the descriptor to simulate.

type SimulateDescriptorType

The 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

string

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

string

CharacteristicUuid

Gets or sets the UUID of the characteristic to simulate.

[JsonPropertyName("characteristicUuid")]
public string CharacteristicUuid { get; set; }

Property Value

string

DescriptorUuid

Gets or sets the UUID of the descriptor to simulate.

[JsonPropertyName("descriptorUuid")]
public string DescriptorUuid { get; set; }

Property Value

string

MethodName

Gets the method name of the command.

[JsonIgnore]
public override string MethodName { get; }

Property Value

string

ServiceUuid

Gets or sets the UUID of the service to simulate.

[JsonPropertyName("serviceUuid")]
public string ServiceUuid { get; set; }

Property Value

string

Type

Gets or sets the type of simulation of the descriptor.

[JsonPropertyName("type")]
public SimulateDescriptorType Type { get; set; }

Property Value

SimulateDescriptorType