Package 

Class CommandQueueCallback

    • Method Summary

      Modifier and Type Method Description
      Unit onNewOperation(T operation) This is the main command execution machine, often called immediately after another command has finished.
      Unit onOperationTimeout(T operation)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommandQueueCallback

        CommandQueueCallback()
    • Method Detail

      • onNewOperation

         Unit onNewOperation(T operation)

        This is the main command execution machine, often called immediately after another command has finished.

        This method must be executed on the main thread, and will refuse to run operations if it is not. This is because Android's BLE API is very particular about the thread it runs on, and the main thread is typically suggested as the safest.