diff options
author | Sven Gothel <[email protected]> | 2020-07-04 01:19:05 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-07-04 01:19:05 +0200 |
commit | dd1b3f480eeb69a97a90ea7edc3281ca669334d4 (patch) | |
tree | 534f441f9b0042215d9d050a7adf9e417478da8c /java/org/tinyb/BluetoothGattService.java | |
parent | 7d028e850913f3ed495ce79a0350e76d5727222b (diff) |
org.tinyb: API doc: Add @implNote for tinyb.dbus implementation
Diffstat (limited to 'java/org/tinyb/BluetoothGattService.java')
-rw-r--r-- | java/org/tinyb/BluetoothGattService.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/org/tinyb/BluetoothGattService.java b/java/org/tinyb/BluetoothGattService.java index 0379568b..797a2e82 100644 --- a/java/org/tinyb/BluetoothGattService.java +++ b/java/org/tinyb/BluetoothGattService.java @@ -90,6 +90,8 @@ public interface BluetoothGattService extends BluetoothObject * Adds the given {@link GATTCharacteristicListener} to the {@link BluetoothDevice} for all {@link BluetoothGattCharacteristic}s. * @param listener {@link GATTCharacteristicListener} to add to the {@link BluetoothDevice}. * @return true if successful, otherwise false + * @since 2.0.0 + * @implNote not implemented in tinyb.dbus */ public static boolean addCharacteristicListenerToAll(final BluetoothDevice device, final List<BluetoothGattService> services, final GATTCharacteristicListener listener) { final boolean res = device.addCharacteristicListener(listener, null /* for all */); @@ -108,6 +110,8 @@ public interface BluetoothGattService extends BluetoothObject * Removes the given {@link GATTCharacteristicListener} from the {@link BluetoothDevice}. * @param listener {@link GATTCharacteristicListener} to remove from the {@link BluetoothDevice}. * @return true if successful, otherwise false + * @since 2.0.0 + * @implNote not implemented in tinyb.dbus */ public static boolean removeCharacteristicListenerFromAll(final BluetoothDevice device, final List<BluetoothGattService> services, final GATTCharacteristicListener listener) { for(final Iterator<BluetoothGattService> is = services.iterator(); is.hasNext(); ) { @@ -124,6 +128,8 @@ public interface BluetoothGattService extends BluetoothObject /** * Removes all {@link GATTCharacteristicListener} from the {@link BluetoothDevice}. * @return count of removed {@link GATTCharacteristicListener} + * @since 2.0.0 + * @implNote not implemented in tinyb.dbus */ public static int removeAllCharacteristicListener(final BluetoothDevice device, final List<BluetoothGattService> services) { for(final Iterator<BluetoothGattService> is = services.iterator(); is.hasNext(); ) { |