Share via


LocationRequest.MinUpdateDistanceMeters Property

Definition

Returns the minimum distance between location updates.

public float MinUpdateDistanceMeters { [Android.Runtime.Register("getMinUpdateDistanceMeters", "()F", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMinUpdateDistanceMeters", "()F", "", ApiSince=31)>]
member this.MinUpdateDistanceMeters : single

Property Value

the minimum distance between location updates

Attributes

Remarks

Returns the minimum distance between location updates. If a potential location update is closer to the last location update than the minimum update distance, then the potential location update will not occur. A value of 0 meters implies that no location update will ever be rejected due to failing this constraint.

Java documentation for android.location.LocationRequest.getMinUpdateDistanceMeters().

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