BluetoothEmulationApi class

This domain allows configuring virtual Bluetooth devices to test the web-bluetooth API.

Constructors

BluetoothEmulationApi(Client _client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disable() Future<void>
Disable the BluetoothEmulation domain.
enable(CentralState state) Future<void>
Enable the BluetoothEmulation domain. state State of the simulated central.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
simulateAdvertisement(ScanEntry entry) Future<void>
Simulates an advertisement packet described in |entry| being received by the central.
simulatePreconnectedPeripheral(String address, String name, List<ManufacturerData> manufacturerData, List<String> knownServiceUuids) Future<void>
Simulates a peripheral with |address|, |name| and |knownServiceUuids| that has already been connected to the system.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited