public interface DataReceivedCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onDataReceived(android.bluetooth.BluetoothDevice device,
Data data)
Callback received each time the value was read or has changed using
notifications or indications.
|
void onDataReceived(@NonNull
android.bluetooth.BluetoothDevice device,
@NonNull
Data data)
device - the target device.data - the data received. If the DataMerger was used,
this contains the merged result.