Fluetooth class abstract
Constructors
- Fluetooth.new()
-
factory
Properties
-
connectedDevice
→ Future<
FluetoothDevice?> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isAvailable
→ Future<
bool> -
Checks if Bluetooth is available on the device.
no setter
-
isConnected
→ Future<
bool> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
String deviceId) → Future< FluetoothDevice> -
disconnect(
) → Future< void> -
getAvailableDevices(
) → Future< List< FluetoothDevice> > - Since both Android and iOS have different flow of getting BT devices, these separated sections will describe briefly of what happens when using getAvailableDevices on each platforms.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendBytes(
List< int> bytes) → Future<void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited