public static interface TouchChip.ImageReceiver
Modifier and Type | Method and Description |
---|---|
void |
onDataReceived(int totalSize,
int bytesRecv,
byte[] data)
Invokes when new data is received.
|
void onDataReceived(int totalSize, int bytesRecv, byte[] data)
totalSize
- The total image size in bytes.bytesRecv
- The number of bytes that are already received.data
- The last received image data (can be part of image).