Language

RangingRequest.Builder.AddNon80211mcCapableAccessPoints Method

Definition

Add the non-802.11mc and non-802.11az capable devices specified by the ScanResult to the list of devices with which to measure range.

[Android.Runtime.Register("addNon80211mcCapableAccessPoints", "(Ljava/util/List;)Landroid/net/wifi/rtt/RangingRequest$Builder;", "", ApiSince=31)]
public Android.Net.Wifi.Rtt.RangingRequest.Builder AddNon80211mcCapableAccessPoints(System.Collections.Generic.IList<Android.Net.Wifi.ScanResult> apInfos);
[<Android.Runtime.Register("addNon80211mcCapableAccessPoints", "(Ljava/util/List;)Landroid/net/wifi/rtt/RangingRequest$Builder;", "", ApiSince=31)>]
member this.AddNon80211mcCapableAccessPoints : System.Collections.Generic.IList<Android.Net.Wifi.ScanResult> -> Android.Net.Wifi.Rtt.RangingRequest.Builder

Parameters

apInfos
IList<ScanResult>

Information about Access Points (APs) obtained in a Scan Result. This value cannot be null.

Returns

The builder to facilitate chaining builder.setXXX(..).setXXX(..). This value cannot be null.

Attributes

Remarks

Add the non-802.11mc and non-802.11az capable devices specified by the ScanResult to the list of devices with which to measure range. The total number of peers added to a request cannot exceed the limit specified by RangingRequest.getMaxPeers().

One-sided RTT does not subtract the RTT turnaround time at the Access Point, which can add hundreds of meters to the estimate. With experimentation, it is possible to use this information to make a statistical estimate of the range by taking multiple measurements to several Access Points and normalizing the result. For some applications this can be used to improve range estimates based on Receive Signal Strength Indication (RSSI), but will not be as accurate as IEEE 802.11mc (two-sided RTT).

Note: one-sided RTT should only be used if you are very familiar with statistical estimation techniques.

Android reference for android.net.wifi.rtt.RangingRequest.Builder.addNon80211mcCapableAccessPoints.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to