public class DefaultRemoteServiceListener extends Object implements RemoteServiceListener
| Constructor and Description |
|---|
DefaultRemoteServiceListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onNotificationReceived(BluetoothConnection connection,
BluetoothCharacteristic characteristic,
byte[] value) |
void |
onReadCompleted(BluetoothConnection connection,
BluetoothAttribute attribute,
byte status,
byte[] value) |
void |
onWriteCompleted(BluetoothConnection connection,
BluetoothAttribute attribute,
byte status) |
public void onNotificationReceived(BluetoothConnection connection, BluetoothCharacteristic characteristic, byte[] value)
onNotificationReceived in interface RemoteServiceListenerpublic void onReadCompleted(BluetoothConnection connection, BluetoothAttribute attribute, byte status, byte[] value)
onReadCompleted in interface RemoteServiceListenerpublic void onWriteCompleted(BluetoothConnection connection, BluetoothAttribute attribute, byte status)
onWriteCompleted in interface RemoteServiceListener