Table of Contents

Class SimulateServiceCommandParameters

Namespace
WebDriverBiDi.Bluetooth
Assembly
WebDriverBiDi.dll

Provides parameters for the bluetooth.simulateService command.

public class SimulateServiceCommandParameters : CommandParameters<SimulateServiceCommandResult>
Inheritance
SimulateServiceCommandParameters
Inherited Members

Constructors

SimulateServiceCommandParameters(string, string, string, SimulateServiceType)

Initializes a new instance of the SimulateServiceCommandParameters class.

public SimulateServiceCommandParameters(string browsingContextId, string address, string serviceUuid, SimulateServiceType type)

Parameters

browsingContextId string

The ID of the browsing context for which to simulate the Bluetooth service.

address string

The address of the simulated device.

serviceUuid string

The UUID of the service to simulate.

type SimulateServiceType

The SimulateServiceType value for the type of simulation for the service.

Properties

Address

Gets or sets the address of the device for which to simulate the service.

[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 service on the Bluetooth adapter.

[JsonPropertyName("context")]
public string BrowsingContextId { 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("uuid")]
public string ServiceUuid { get; set; }

Property Value

string

Type

Gets or sets the type of simulation of the service.

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

Property Value

SimulateServiceType