FlutterReactiveBleConnector class

Inheritance
  • Object
  • StateNotifier<BleConnectorStatus>
  • StatefulNotifier<BleConnectorStatus>
  • BleConnector
  • BaseBleConnector
  • FlutterReactiveBleConnector

Constructors

FlutterReactiveBleConnector.new({required FlutterReactiveBle backend, required String deviceId, required List<Uuid> serviceIds})

Properties

backend → FlutterReactiveBle
final
deviceId String
final
hashCode int
The hash code for this object.
no setterinherited
isConnectToKnownDeviceSupported bool
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceIds List<Uuid>
final
state → BleConnectorStatus
no setteroverride
stateStream Stream<BleConnectorStatus>
no setterinherited

Methods

canNotifyState() bool
inherited
connect() Future<void>
override
connectToKnownDevice({Duration duration = const Duration(seconds: 20)}) Future<void>
override
createCharacteristic({required String serviceId, required String characteristicId}) → BleCharacteristic
override
createMtu() → BleMtu
override
createSerial({required String serviceId, required String rxCharacteristicId, required String txCharacteristicId}) → BleSerial
inherited
disconnect() Future<void>
override
discoverServices() Future<List<String>>
override
dispose() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyState(BleConnectorStatus state) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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