public interface ReadProgressCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onPacketReceived(android.bluetooth.BluetoothDevice device,
byte[] data,
int index)
Callback received each time the value was read or has changed using notifications or
indications when
DataMerger was used. |
void onPacketReceived(@NonNull
android.bluetooth.BluetoothDevice device,
@Nullable
byte[] data,
int index)
DataMerger was used.device - the target device.data - the last packet received.index - the index of a packet that will be merged into a single Data.