Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1a0804f authored by Patty's avatar Patty
Browse files

[API Review] Add java doc for BluetoothLeCallback.registerCallback()

Bug: 219875113
Tag: #feature
Test: atest BluetoothInstrumentationTests
Change-Id: Ia1c4008f9f69a6de75cc1ded169a65adef49be04
parent 19313ddb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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