LocationRequest.Builder.Build Method

Definition

Builds a location request from this builder.

[Android.Runtime.Register("build", "()Landroid/location/LocationRequest;", "", ApiSince=31)]
public Android.Locations.LocationRequest Build ();
[<Android.Runtime.Register("build", "()Landroid/location/LocationRequest;", "", ApiSince=31)>]
member this.Build : unit -> Android.Locations.LocationRequest

Returns

a new location request

Attributes

Remarks

Builds a location request from this builder. If an explicit minimum update interval is set, the minimum update interval of the location request will be the minimum of the interval and minimum update interval.

If building a passive request then you must have set an explicit minimum update interval.

Java documentation for android.location.LocationRequest.Builder.build().

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