Package 

Interface DataReceivedCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onDataReceived(@NonNull() BluetoothDevice device, @NonNull() Data data) Callback received each time the value was read or has changed usingnotifications or indications.
      • Methods inherited from class java.lang.Object

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

      • onDataReceived

         abstract void onDataReceived(@NonNull() BluetoothDevice device, @NonNull() Data data)

        Callback received each time the value was read or has changed usingnotifications or indications.

        Parameters:
        device - the target device.
        data - the data received.