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

Commit 4023ca9a authored by android-build-team Robot's avatar android-build-team Robot Committed by android-build-merger
Browse files

Merge "[AWARE] Update docs for service discovery callbacks" into pi-dev am: b9147471

am: 1191a4c5

Change-Id: If81d0074074058ab41944e097dad22f1651b9f7b
parents e2a07028 1191a4c5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -95,6 +95,10 @@ public class DiscoverySessionCallback {
    /**
     * Called when a discovery (publish or subscribe) operation results in a
     * service discovery.
     * <p>
     * Note that this method and
     * {@link #onServiceDiscoveredWithinRange(PeerHandle, byte[], List, int)} may be called
     * multiple times per service discovery.
     *
     * @param peerHandle An opaque handle to the peer matching our discovery operation.
     * @param serviceSpecificInfo The service specific information (arbitrary
@@ -122,6 +126,9 @@ public class DiscoverySessionCallback {
     * If either Publisher or Subscriber does not enable Ranging, or if Ranging is temporarily
     * disabled by the underlying device, service discovery proceeds without ranging and the
     * {@link #onServiceDiscovered(PeerHandle, byte[], List)} is called.
     * <p>
     * Note that this method and {@link #onServiceDiscovered(PeerHandle, byte[], List)} may be
     * called multiple times per service discovery.
     *
     * @param peerHandle An opaque handle to the peer matching our discovery operation.
     * @param serviceSpecificInfo The service specific information (arbitrary