Package ej.bluetooth.listeners
Interface LocalServiceListener
-
- All Known Implementing Classes:
DefaultLocalServiceListener
public interface LocalServiceListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonExecuteWriteRequest(BluetoothConnection connection, BluetoothAttribute attribute, boolean execute)voidonNotificationSent(BluetoothConnection connection, BluetoothCharacteristic characteristic, boolean success)voidonPrepareWriteRequest(BluetoothConnection connection, BluetoothAttribute attribute, byte[] value, int offset)voidonReadBlobRequest(BluetoothConnection connection, BluetoothAttribute attribute, int offset)voidonReadRequest(BluetoothConnection connection, BluetoothAttribute attribute)voidonWriteRequest(BluetoothConnection connection, BluetoothAttribute attribute, byte[] value)
-
-
-
Method Detail
-
onReadRequest
void onReadRequest(BluetoothConnection connection, BluetoothAttribute attribute)
-
onReadBlobRequest
void onReadBlobRequest(BluetoothConnection connection, BluetoothAttribute attribute, int offset)
-
onWriteRequest
void onWriteRequest(BluetoothConnection connection, BluetoothAttribute attribute, byte[] value)
-
onPrepareWriteRequest
void onPrepareWriteRequest(BluetoothConnection connection, BluetoothAttribute attribute, byte[] value, int offset)
-
onExecuteWriteRequest
void onExecuteWriteRequest(BluetoothConnection connection, BluetoothAttribute attribute, boolean execute)
-
onNotificationSent
void onNotificationSent(BluetoothConnection connection, BluetoothCharacteristic characteristic, boolean success)
-
-