diff options
Diffstat (limited to 'java/tinyb/dbus/DBusDevice.java')
-rw-r--r-- | java/tinyb/dbus/DBusDevice.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/java/tinyb/dbus/DBusDevice.java b/java/tinyb/dbus/DBusDevice.java index f01bd9e1..fbbebc62 100644 --- a/java/tinyb/dbus/DBusDevice.java +++ b/java/tinyb/dbus/DBusDevice.java @@ -33,10 +33,12 @@ import java.util.Map; import org.tinyb.BluetoothDevice; import org.tinyb.BluetoothException; +import org.tinyb.BluetoothGattCharacteristic; import org.tinyb.BluetoothGattService; import org.tinyb.BluetoothManager; import org.tinyb.BluetoothNotification; import org.tinyb.BluetoothType; +import org.tinyb.GATTCharacteristicListener; public class DBusDevice extends DBusObject implements BluetoothDevice { @@ -202,6 +204,21 @@ public class DBusDevice extends DBusObject implements BluetoothDevice @Override public native void disableServicesResolvedNotifications(); + @Override + public boolean addCharacteristicListener(final GATTCharacteristicListener listener, final BluetoothGattCharacteristic characteristicMatch) { + return false; // FIXME + } + + @Override + public boolean removeCharacteristicListener(final GATTCharacteristicListener l) { + return false; // FIXME + } + + @Override + public int removeAllCharacteristicListener() { + return 0; // FIXME + } + private native void delete(); private DBusDevice(final long instance) |