BleManagerCallbacks class abstract

An abstract class that should be extended to access callbacks during BLE device interactions

Implementers

Constructors

BleManagerCallbacks()

Properties

hashCode int
The hash code for this object.
no setterinherited
onDeviceConnected Stream<ConnectionStateUpdate>
The Stream that will contain the connected event
no setter
onDeviceConnectedController StreamController<ConnectionStateUpdate>
The StreamController that is used to trigger an event when a device is connected
final
onDeviceConnecting Stream<ConnectionStateUpdate>
The Stream that will contain the connecting event
no setter
onDeviceConnectingController StreamController<ConnectionStateUpdate>
The StreamController that is used to trigger an event when a device is connecting
final
onDeviceDisconnected Stream<ConnectionStateUpdate>
The Stream that will contain the disconnected event
no setter
onDeviceDisconnectedController StreamController<ConnectionStateUpdate>
The StreamController that is used to trigger an event when a device is disconnected
final
onDeviceDisconnecting Stream<ConnectionStateUpdate>
The Stream that will contain the disconnecting event
no setter
onDeviceDisconnectingController StreamController<ConnectionStateUpdate>
The StreamController that is used to trigger an event when a device is disconnecting
final
onDeviceReady Stream<DiscoveredDevice>
The Stream that will contain an event when the phone is ready to interact with target BLE device
no setter
onDeviceReadyController StreamController<DiscoveredDevice>
The StreamController that is used to trigger an event when the phone is ready to interact with target BLE device
final
onError Stream<BleManagerCallbacksError>
The Stream that will contain any BleManagerCallbacksError that could occur during connection lifetime
no setter
onErrorController StreamController<BleManagerCallbacksError>
The StreamController that is used to trigger an event when an error occur during connection lifetime
final
onServicesDiscovered Stream<BleManagerCallbacksDiscoveredServices>
The Stream that will contain a BleManagerCallbacksDiscoveredServices object when BLE services are validated upon connection
no setter
onServicesDiscoveredController StreamController<BleManagerCallbacksDiscoveredServices>
The StreamController that is used to trigger an event when BLE services are validated upon connection
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
Will clear the used resources
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMtuToMeshManagerApi(int mtu) Future<void>
A method that should be used to update the stored MTU so the native code properly constructs the PDUs
shouldEnableBatteryLevelNotifications(DiscoveredDevice device) bool
RFU
toString() String
A string representation of this object.
inherited

Operators

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