-
@FunctionalInterface() public interface DataReceivedCallback
-
-
Method Summary
Modifier and Type Method Description abstract voidonDataReceived(@NonNull() BluetoothDevice device, @NonNull() Data data)Callback received each time the value was read or has changed usingnotifications or indications. -
-
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.
-
-
-
-