ShararaBluetoothPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • ShararaBluetoothPlatform
Implementers

Constructors

ShararaBluetoothPlatform()
Constructs a ShararaBluetoothPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
lastSeenDevices List<BluetoothDevice>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<List<BluetoothDevice>>?
no setter

Methods

cancelDiscovery() Future<void>
connect(BluetoothDevice device, {String uuid = "00001101-0000-1000-8000-00805F9B34FB"}) Future<bool>
disconnect(BluetoothDevice device) Future<bool>
forceConnecting(BluetoothDevice device, {String uuid = "00001101-0000-1000-8000-00805F9B34FB"}) Future<bool>
isAllServicesDisposed() Future<bool>
isDeviceConnected(BluetoothDevice device) Future<bool>
isDiscovering() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startDiscovery({Duration? duration}) Future<Stream<List<BluetoothDevice>>?>
stopAndDisposeAllServices() Future<void>
toString() String
A string representation of this object.
inherited
writeToDevice(BluetoothDevice device, {required List<int> data}) Future<bool>

Operators

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

Static Properties

instance ShararaBluetoothPlatform
The default instance of ShararaBluetoothPlatform to use.
getter/setter pair