aboutsummaryrefslogtreecommitdiffstats
path: root/java/tinyb
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-02-09 05:18:48 +0100
committerSven Gothel <[email protected]>2021-02-09 05:18:48 +0100
commit7ce8651a5737f5a66c8be3f4cb975e134a7a0699 (patch)
tree381f6e24a87cb09400e71f5df5de93c61e55986f /java/tinyb
parent02914f26e252bd9ce61b5c7569703c73ff4f205a (diff)
BTDevice.java: Add isValid() query, i.e. device reference valid and device not removed
Diffstat (limited to 'java/tinyb')
-rw-r--r--java/tinyb/dbus/DBusDevice.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java/tinyb/dbus/DBusDevice.java b/java/tinyb/dbus/DBusDevice.java
index 42a37117..7fd552a6 100644
--- a/java/tinyb/dbus/DBusDevice.java
+++ b/java/tinyb/dbus/DBusDevice.java
@@ -168,6 +168,9 @@ public class DBusDevice extends DBusObject implements BTDevice
public native boolean remove() throws BTException;
@Override
+ public final boolean isValid() { return super.isValid(); }
+
+ @Override
public native boolean cancelPairing() throws BTException;
@Override