Table of Contents

Class SimulateAdvertisementCommandParameters

Namespace
WebDriverBiDi.Bluetooth
Assembly
WebDriverBiDi.dll

Provides parameters for the bluetooth.simulateAdvertisement command.

public class SimulateAdvertisementCommandParameters : CommandParameters<SimulateAdvertisementCommandResult>
Inheritance
SimulateAdvertisementCommandParameters
Inherited Members

Constructors

SimulateAdvertisementCommandParameters(string, SimulateAdvertisementScanEntry)

Initializes a new instance of the SimulateAdvertisementCommandParameters class.

public SimulateAdvertisementCommandParameters(string browsingContextId, SimulateAdvertisementScanEntry scanEntry)

Parameters

browsingContextId string

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

scanEntry SimulateAdvertisementScanEntry

The SimulateAdvertisementScanEntry object representing data about this entry scanning for peripherals.

Properties

BrowsingContextId

Gets or sets the ID of the browsing context for which to simulate the Bluetooth advertisement.

[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

ScanEntry

Gets or sets the scan entry data for the simulated Bluetooth advertisement.

[JsonPropertyName("scanEntry")]
public SimulateAdvertisementScanEntry ScanEntry { get; set; }

Property Value

SimulateAdvertisementScanEntry