diff options
Diffstat (limited to 'java/BluetoothGattDescriptor.java')
-rw-r--r-- | java/BluetoothGattDescriptor.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/BluetoothGattDescriptor.java b/java/BluetoothGattDescriptor.java index 8a0f89f..9a5b00f 100644 --- a/java/BluetoothGattDescriptor.java +++ b/java/BluetoothGattDescriptor.java @@ -50,6 +50,9 @@ public class BluetoothGattDescriptor extends BluetoothObject */ public native boolean writeValue(byte[] argValue); + public native void enableValueNotifications(BluetoothNotification<byte[]> value); + public native void disableValueNotifications(); + /* D-Bus property accessors: */ /** Get the UUID of this descriptor. * @return The 128 byte UUID of this descriptor, NULL if an error occurred |