AllBluetoothPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- AllBluetoothPlatform
- Implementers
Constructors
- AllBluetoothPlatform()
- Constructs a AllBluetoothPlatform.
Properties
-
discoverDevices
→ Stream<
BluetoothDevice> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listenForConnection
→ Stream<
ConnectionResult> -
no setter
-
listenForData
→ Stream<
String?> -
no setter
-
listenToBluetoothState
→ Stream<
bool> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeConnection(
) → Future< void> -
connectToDevice(
String address) → Future< void> -
getBondedDevices(
) → Future< List< BluetoothDevice> > -
isBluetoothOn(
) → Future< bool> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendMessage(
String message) → Future< bool> -
startBluetoothServer(
) → Future< void> -
startDiscovery(
) → Future< void> -
stopDiscovery(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AllBluetoothPlatform
-
The default instance of AllBluetoothPlatform to use.
getter/setter pair