Udostępnij za pośrednictwem


Location.VerticalAccuracyMeters Property

Definition

Returns the estimated altitude accuracy in meters of this location at the 68th percentile confidence level. -or- Set the altitude accuracy of this location in meters.

public virtual float VerticalAccuracyMeters { [Android.Runtime.Register("getVerticalAccuracyMeters", "()F", "GetGetVerticalAccuracyMetersHandler", ApiSince=26)] get; [Android.Runtime.Register("setVerticalAccuracyMeters", "(F)V", "GetSetVerticalAccuracyMeters_FHandler", ApiSince=26)] set; }
[<get: Android.Runtime.Register("getVerticalAccuracyMeters", "()F", "GetGetVerticalAccuracyMetersHandler", ApiSince=26)>]
[<set: Android.Runtime.Register("setVerticalAccuracyMeters", "(F)V", "GetSetVerticalAccuracyMeters_FHandler", ApiSince=26)>]
member this.VerticalAccuracyMeters : single with get, set

Property Value

vertical accuracy of this location

Attributes

Remarks

Property getter documentation:

Returns the estimated altitude accuracy in meters of this location at the 68th percentile confidence level. This means that there is 68% chance that the true altitude of this location falls within #getAltitude() ()} +/- this uncertainty.

This is only valid if #hasVerticalAccuracy() is true.

Java documentation for android.location.Location.getVerticalAccuracyMeters().

Property setter documentation:

Set the altitude accuracy of this location in meters.

Java documentation for android.location.Location.setVerticalAccuracyMeters(float).

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