public interface ClientOperationQueue
Operation execution.
Native Android BLE API is asynchronous but does not queue operations on it's own. Operations like scanning, connecting, reading, writing
in order to be successfully started need to be serialized at different levels.
BluetoothGatt each read and write needs to be synchronized but changing connection
priority does not.
BluetoothGatt the Android Stack does queue direct connections internally
but due to a bug the callback may not be called — serializing connection establishment does allow for proper timeout management in this
case| Modifier and Type | Method and Description |
|---|---|
<T> <any> |
queue(Operation<T> operation)
Function that queues an
Operation for execution. |