Share via


RangingResult.NumSuccessfulMeasurements Property

Definition

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

Property Value

The number of successful measurements used to calculate the distance and standard deviation. If the number of successful measurements if 1 then then standard deviation, returned by #getDistanceStdDevMm(), is not valid (a 0 is returned for the standard deviation). <p> The total number of measurement attempts is returned by #getNumAttemptedMeasurements(). The number of successful measurements will be at most 1 less then the number of attempted measurements. <p> Only valid if #getStatus() returns #STATUS_SUCCESS, otherwise will throw an exception.

Attributes

Remarks

Java documentation for android.net.wifi.rtt.RangingResult.getNumSuccessfulMeasurements().

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