Loading wifi/java/android/net/wifi/aware/DiscoverySessionCallback.java +2 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,8 @@ public class DiscoverySessionCallback { * match filter. For {@link PublishConfig#PUBLISH_TYPE_SOLICITED}, * {@link SubscribeConfig#SUBSCRIBE_TYPE_ACTIVE} discovery sessions this * is the subscriber's match filter. * @param distanceMm The measured distance to the Publisher in mm. * @param distanceMm The measured distance to the Publisher in mm. Note: the measured distance * may be negative for very close devices. */ public void onServiceDiscoveredWithinRange(PeerHandle peerHandle, byte[] serviceSpecificInfo, List<byte[]> matchFilter, int distanceMm) { Loading wifi/java/android/net/wifi/rtt/RangingResult.java +2 −0 Original line number Diff line number Diff line Loading @@ -147,6 +147,8 @@ public final class RangingResult implements Parcelable { * @return The distance (in mm) to the device specified by {@link #getMacAddress()} or * {@link #getPeerHandle()}. * <p> * Note: the measured distance may be negative for very close devices. * <p> * Only valid if {@link #getStatus()} returns {@link #STATUS_SUCCESS}, otherwise will throw an * exception. */ Loading Loading
wifi/java/android/net/wifi/aware/DiscoverySessionCallback.java +2 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,8 @@ public class DiscoverySessionCallback { * match filter. For {@link PublishConfig#PUBLISH_TYPE_SOLICITED}, * {@link SubscribeConfig#SUBSCRIBE_TYPE_ACTIVE} discovery sessions this * is the subscriber's match filter. * @param distanceMm The measured distance to the Publisher in mm. * @param distanceMm The measured distance to the Publisher in mm. Note: the measured distance * may be negative for very close devices. */ public void onServiceDiscoveredWithinRange(PeerHandle peerHandle, byte[] serviceSpecificInfo, List<byte[]> matchFilter, int distanceMm) { Loading
wifi/java/android/net/wifi/rtt/RangingResult.java +2 −0 Original line number Diff line number Diff line Loading @@ -147,6 +147,8 @@ public final class RangingResult implements Parcelable { * @return The distance (in mm) to the device specified by {@link #getMacAddress()} or * {@link #getPeerHandle()}. * <p> * Note: the measured distance may be negative for very close devices. * <p> * Only valid if {@link #getStatus()} returns {@link #STATUS_SUCCESS}, otherwise will throw an * exception. */ Loading