Compartir a través de


LocationRequest.DurationMillis Property

Definition

Returns the duration for which location will be provided before the request is automatically removed.

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

Property Value

the duration for which location will be provided

Attributes

Remarks

Returns the duration for which location will be provided before the request is automatically removed. A duration of Long.MAX_VALUE represents an unlimited duration.

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

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