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
browsingContextIdstringThe ID of the browsing context for which to simulate the Bluetooth service.
addressstringThe address of the simulated device.
serviceUuidstringThe UUID of the service to simulate.
typeSimulateServiceTypeThe 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
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
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("uuid")]
public string ServiceUuid { get; set; }
Property Value
Type
Gets or sets the type of simulation of the service.
[JsonPropertyName("type")]
public SimulateServiceType Type { get; set; }