LocationRequest.IntervalMillis Property

Definition

Returns the desired interval of ___location updates, or #PASSIVE_INTERVAL if this is a passive, no power request.

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

Property Value

the desired interval of ___location updates

Attributes

Remarks

Returns the desired interval of ___location updates, or #PASSIVE_INTERVAL if this is a passive, no power request. A passive request will not actively generate ___location updates (and thus will not be power blamed for ___location), but may receive ___location updates generated as a result of other ___location requests. A passive request must always have an explicit minimum update interval set.

Locations may be available at a faster interval than specified here, see #getMinUpdateIntervalMillis() for the behavior in that case.

Java documentation for android.___location.LocationRequest.getIntervalMillis().

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