LocationRequest

Class of android.location · LocationRequest.java · Android's reference

public final class LocationRequest implements Parcelable

How often and how well a client wants locations.

Nested types

Fields

public static final long PASSIVE_INTERVAL = Long.MAX_VALUE source
public static final int QUALITY_HIGH_ACCURACY = 100 source
public static final int QUALITY_BALANCED_POWER_ACCURACY = 102 source
public static final int QUALITY_LOW_POWER = 104 source
public static final Parcelable.Creator<LocationRequest> CREATOR source

Methods

public long getIntervalMillis() source
public int getQuality() source
public long getDurationMillis() source
public int getMaxUpdates() source
public long getMinUpdateIntervalMillis() source
public float getMinUpdateDistanceMeters() source
public long getMaxUpdateDelayMillis() source
public int describeContents() source
public void writeToParcel(Parcel dest, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.