BleMeshManagerCallbacks class abstract

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

Inheritance

Constructors

BleMeshManagerCallbacks()

Properties

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

Methods

dispose() Future<void>
Will clear the used resources
override
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
inherited
shouldEnableBatteryLevelNotifications(DiscoveredDevice device) bool
RFU
inherited
toString() String
A string representation of this object.
inherited

Operators

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