public interface ReadWriteCallbackServer
Modifier and Type | Method and Description |
---|---|
void |
onReadRequest(BluetoothDevice device)
Called back when a read request is received.
|
void |
onWriteRequest(BluetoothDevice device,
byte[] value)
Called back when a write request is received.
|
void onReadRequest(BluetoothDevice device)
device
- the device doing the read request.void onWriteRequest(BluetoothDevice device, byte[] value)
device
- the device doing the write request.value
- the value to write.