Freigeben über


LocationRequest.MinUpdateIntervalMillis Property

Definition

Returns the minimum update interval.

public long MinUpdateIntervalMillis { [Android.Runtime.Register("getMinUpdateIntervalMillis", "()J", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMinUpdateIntervalMillis", "()J", "", ApiSince=31)>]
member this.MinUpdateIntervalMillis : int64

Property Value

the minimum update interval

Attributes

Remarks

Returns the minimum update interval. If location updates are available faster than the request interval then locations will only be updated if the minimum update interval has expired since the last location update.

<p class=note><strong>Note:</strong> Some allowance for jitter is already built into the minimum update interval, so you need not worry about updates blocked simply because they arrived a fraction of a second earlier than expected.

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

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