BluetoothServiceCompletion class abstract
Keeps user notified about btDevice`s connection state.
Used in DocumentReader.startBluetoothService
onServiceConnected fires when android`s bluetooth service is initialized.
onServiceDisconnected fires when android`s bluetooth service is destroyed.
onDeviceReady fires when a bluetooth device is connected and ready to use. DocumentReader.initializeReader should be run here. InitConfig.withBleDevice should be used to create configuration.
Android only.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDeviceReady(
) → void -
onServiceConnected(
bool isBleManagerConnected) → void -
onServiceDisconnected(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited