aboutsummaryrefslogtreecommitdiffstats
path: root/java/tinyb/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'java/tinyb/dbus')
-rw-r--r--java/tinyb/dbus/DBusAdapter.java6
-rw-r--r--java/tinyb/dbus/DBusManager.java5
2 files changed, 11 insertions, 0 deletions
diff --git a/java/tinyb/dbus/DBusAdapter.java b/java/tinyb/dbus/DBusAdapter.java
index 695677fe..973d3e8d 100644
--- a/java/tinyb/dbus/DBusAdapter.java
+++ b/java/tinyb/dbus/DBusAdapter.java
@@ -35,6 +35,7 @@ import java.util.UUID;
import org.tinyb.BluetoothAdapter;
import org.tinyb.BluetoothDevice;
+import org.tinyb.BluetoothDeviceDiscoveryListener;
import org.tinyb.BluetoothException;
import org.tinyb.BluetoothManager;
import org.tinyb.BluetoothNotification;
@@ -148,6 +149,11 @@ public class DBusAdapter extends DBusObject implements BluetoothAdapter
public native boolean getDiscovering();
@Override
+ public void setDeviceDiscoveryListener(final BluetoothDeviceDiscoveryListener l) {
+ throw new UnsupportedOperationException(); // FIXME
+ }
+
+ @Override
public native void enableDiscoveringNotifications(BluetoothNotification<Boolean> callback);
@Override
diff --git a/java/tinyb/dbus/DBusManager.java b/java/tinyb/dbus/DBusManager.java
index 2b5efe65..bfcd5e4b 100644
--- a/java/tinyb/dbus/DBusManager.java
+++ b/java/tinyb/dbus/DBusManager.java
@@ -134,4 +134,9 @@ public class DBusManager implements BluetoothManager
{
delete();
}
+
+ @Override
+ public void shutdown() {
+ delete();
+ }
}