public interface WriteProgressCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onPacketSent(android.bluetooth.BluetoothDevice device,
byte[] data,
int index)
Callback called each time a packet has been sent when
DataSplitter was used. |
void onPacketSent(@NonNull
android.bluetooth.BluetoothDevice device,
@Nullable
byte[] data,
int index)
DataSplitter was used.device - the target device.data - the last packet sent.index - the index of a packet that the initial Data was cut into.