Class of android.location · LocationRequest.java · Android's reference
public final class LocationRequest implements Parcelable
How often and how well a client wants locations.
public static final long PASSIVE_INTERVAL = Long.MAX_VALUE sourcepublic static final int QUALITY_HIGH_ACCURACY = 100 sourcepublic static final int QUALITY_BALANCED_POWER_ACCURACY = 102 sourcepublic static final int QUALITY_LOW_POWER = 104 sourcepublic static final Parcelable.Creator<LocationRequest> CREATOR sourcepublic long getIntervalMillis() sourcepublic int getQuality() sourcepublic long getDurationMillis() sourcepublic int getMaxUpdates() sourcepublic long getMinUpdateIntervalMillis() sourcepublic float getMinUpdateDistanceMeters() sourcepublic long getMaxUpdateDelayMillis() sourcepublic int describeContents() sourcepublic void writeToParcel(Parcel dest, int flags) sourceMade 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.