-
@FunctionalInterface() public interface WriteProgressCallback
-
-
Method Summary
Modifier and Type Method Description abstract voidonPacketSent(@NonNull() BluetoothDevice device, @Nullable() Array<byte> data, @IntRange(from = 0) int index)Callback called each time a packet has been sent when DataSplitter was used. -
-
Method Detail
-
onPacketSent
abstract void onPacketSent(@NonNull() BluetoothDevice device, @Nullable() Array<byte> data, @IntRange(from = 0) int index)
Callback called each time a packet has been sent when DataSplitter was used.
- Parameters:
device- the target device.data- the last packet sent.index- the index of a packet that the initial Data was cut into.
-
-
-
-