BrilliantBluetooth class
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
connect(
BrilliantScannedDevice scanned) → Future< BrilliantDevice> - Connects to a scanned device.
-
enableServices(
BluetoothDevice device) → Future< BrilliantDevice> - Enables services on the device.
-
getNearestFrame(
) → Future< BrilliantDevice> - Gets the nearest Frame device.
-
reconnect(
String uuid) → Future< BrilliantDevice> - Reconnects to a device by UUID.
-
requestPermission(
) → Future< void> - Requests Bluetooth permission.
-
scan(
) → Stream< BrilliantScannedDevice> - Scans for devices.
-
stopScan(
) → Future< void> - Stops scanning for devices.