BluetoothController class

Manages Bluetooth-related information and operations.

Constructors

BluetoothController()

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

getBluetoothState() Future<BluetoothState>
Retrieves the current Bluetooth state.
listen(void callback(BluetoothState state)) StreamSubscription
Listens to Bluetooth state changes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBluetoothEnabled(bool enabled) Future<void>
Enables or disables Bluetooth.
toString() String
A string representation of this object.
inherited

Operators

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