diff options
| author | Patty <plhuang@google.com> | 2022-03-29 11:39:45 +0800 |
|---|---|---|
| committer | Patty <plhuang@google.com> | 2022-03-29 11:39:45 +0800 |
| commit | f1a0804f604e0e5e89dceb1d855ce47a8de6ad02 (patch) | |
| tree | e1f2cb3a5556328c8c76b51107231dcb46ab0c13 /framework/java | |
| parent | 19313ddbb3d66f4096ddb48eb9870e5e5dda93f8 (diff) | |
[API Review] Add java doc for BluetoothLeCallback.registerCallback()
Bug: 219875113
Tag: #feature
Test: atest BluetoothInstrumentationTests
Change-Id: Ia1c4008f9f69a6de75cc1ded169a65adef49be04
Diffstat (limited to 'framework/java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothLeAudio.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothLeAudio.java b/framework/java/android/bluetooth/BluetoothLeAudio.java index 6d416434b2..ab54bc8ae2 100644 --- a/framework/java/android/bluetooth/BluetoothLeAudio.java +++ b/framework/java/android/bluetooth/BluetoothLeAudio.java @@ -924,6 +924,10 @@ public final class BluetoothLeAudio implements BluetoothProfile, AutoCloseable { * would have to call {@link #unregisterCallback(Callback)} with * the same callback object before registering it again. * + * <p> The {@link Callback} will be invoked only if there is codec status changed for the + * remote device or the device is connected/disconnected in a certain group or the group + * status is changed. + * * @param executor an {@link Executor} to execute given callback * @param callback user implementation of the {@link Callback} * @throws NullPointerException if a null executor or callback is given |
