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
browsingContextIdstringThe ID of the browsing context for which to simulate the advertisement of Bluetooth peripheral.
scanEntrySimulateAdvertisementScanEntryThe 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
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }
Property Value
ScanEntry
Gets or sets the scan entry data for the simulated Bluetooth advertisement.
[JsonPropertyName("scanEntry")]
public SimulateAdvertisementScanEntry ScanEntry { get; set; }