Faketooth class

A class that provides methods for simulating Bluetooth Low Energy (BLE) devices and interactions.

Constructors

Faketooth()
Constructs a new instance of the Faketooth class.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isSimulated Future<bool>
Returns a flag indicating if BLE simulation is enabled.
no setter
platformVersion Future<String?>
Returns the platform plugin version.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findCharacteristic({required String peripheral, required String uuid}) FaketoothCharacteristic?
Finds a characteristic based on the peripheral identifier and characteristic UUID.
findDescriptor({required String peripheral, required String uuid}) FaketoothDescriptor?
Finds a descriptor based on the peripheral identifier and descriptor UUID.
handleMethodCall(MethodCall call) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setSettings({required FaketoothDelaySettings delay}) Future<void>
Sets the delay settings for BLE interactions.
setSimulatedPeripherals(List<FaketoothPeripheral> value) Future<void>
Sets the list of simulated peripherals.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

shared Faketooth
A singleton instance of the Faketooth class.
final