Share via


RangingRequest.MaxPeers Property

Definition

Returns the maximum number of peers to range which can be specified in a single RangingRequest.

public static int MaxPeers { [Android.Runtime.Register("getMaxPeers", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getMaxPeers", "()I", "", ApiSince=28)>]
static member MaxPeers : int

Property Value

Maximum number of peers.

Attributes

Remarks

Returns the maximum number of peers to range which can be specified in a single RangingRequest. The limit applies no matter how the peers are added to the request, e.g. through RangingRequest.Builder#addAccessPoint(ScanResult) or RangingRequest.Builder#addAccessPoints(List).

Java documentation for android.net.wifi.rtt.RangingRequest.getMaxPeers().

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