RangingResult.NumAttemptedMeasurements Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public int NumAttemptedMeasurements { [Android.Runtime.Register("getNumAttemptedMeasurements", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getNumAttemptedMeasurements", "()I", "", ApiSince=28)>]
member this.NumAttemptedMeasurements : int
Property Value
The number of attempted measurements used in the RTT exchange resulting in this set
of results. The number of successful measurements is returned by
#getNumSuccessfulMeasurements()
which at most, if there are no errors, will be 1
less than the number of attempted measurements.
<p>
Only valid if #getStatus()
returns #STATUS_SUCCESS
, otherwise will throw an
exception. If the value is 0, it should be interpreted as no information available, which may
occur for one-sided RTT measurements. Instead RangingRequest#getRttBurstSize()
should be used instead.
- Attributes
Remarks
Java documentation for android.net.wifi.rtt.RangingResult.getNumAttemptedMeasurements()
.
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.