Package ej.bluetooth.listeners.impl
Class DefaultRemoteServiceListener
- java.lang.Object
-
- ej.bluetooth.listeners.impl.DefaultRemoteServiceListener
-
- All Implemented Interfaces:
RemoteServiceListener
public class DefaultRemoteServiceListener extends java.lang.Object implements RemoteServiceListener
-
-
Constructor Summary
Constructors Constructor Description DefaultRemoteServiceListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonNotificationReceived(BluetoothConnection connection, BluetoothCharacteristic characteristic, byte[] value)voidonReadCompleted(BluetoothConnection connection, BluetoothAttribute attribute, byte status, byte[] value)voidonWriteCompleted(BluetoothConnection connection, BluetoothAttribute attribute, byte status)
-
-
-
Method Detail
-
onReadCompleted
public void onReadCompleted(BluetoothConnection connection, BluetoothAttribute attribute, byte status, byte[] value)
- Specified by:
onReadCompletedin interfaceRemoteServiceListener
-
onWriteCompleted
public void onWriteCompleted(BluetoothConnection connection, BluetoothAttribute attribute, byte status)
- Specified by:
onWriteCompletedin interfaceRemoteServiceListener
-
onNotificationReceived
public void onNotificationReceived(BluetoothConnection connection, BluetoothCharacteristic characteristic, byte[] value)
- Specified by:
onNotificationReceivedin interfaceRemoteServiceListener
-
-