Share via


LocationRequest.Builder Constructors

Definition

Overloads

LocationRequest.Builder(LocationRequest)

Creates a new Builder with all parameters copied from the given location request.

LocationRequest.Builder(Int64)

Creates a new Builder with the given interval.

LocationRequest.Builder(LocationRequest)

Creates a new Builder with all parameters copied from the given location request.

[Android.Runtime.Register(".ctor", "(Landroid/location/LocationRequest;)V", "", ApiSince=31)]
public Builder (Android.Locations.LocationRequest locationRequest);
[<Android.Runtime.Register(".ctor", "(Landroid/location/LocationRequest;)V", "", ApiSince=31)>]
new Android.Locations.LocationRequest.Builder : Android.Locations.LocationRequest -> Android.Locations.LocationRequest.Builder

Parameters

locationRequest
LocationRequest
Attributes

Remarks

Creates a new Builder with all parameters copied from the given location request.

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

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

LocationRequest.Builder(Int64)

Creates a new Builder with the given interval.

[Android.Runtime.Register(".ctor", "(J)V", "", ApiSince=31)]
public Builder (long intervalMillis);
[<Android.Runtime.Register(".ctor", "(J)V", "", ApiSince=31)>]
new Android.Locations.LocationRequest.Builder : int64 -> Android.Locations.LocationRequest.Builder

Parameters

intervalMillis
Int64
Attributes

Remarks

Creates a new Builder with the given interval. See #setIntervalMillis(long) for more information on the interval.

Java documentation for android.location.LocationRequest.Builder.LocationRequest$Builder(long).

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