Interface HelperBleBackend.PendingOp

Enclosing class:
HelperBleBackend

public static interface HelperBleBackend.PendingOp
Completion of one in-flight helper command. Exactly one of the two methods fires, from the helper reader thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(String event, Map<String,Object> payload)
    The command's terminal success event.
    void
    The command failed -- helper error event, crash or shutdown.
  • Method Details

    • onEvent

      void onEvent(String event, Map<String,Object> payload)
      The command's terminal success event.
    • onFailure

      void onFailure(BluetoothException failure)
      The command failed -- helper error event, crash or shutdown.