An encapsulation of various parameters for requesting a (cached) last location through
FusedLocationProviderClient.
| class | LastLocationRequest.Builder | A builder for LastLocationRequest. |
|
| boolean | |
| int |
getGranularity()
The
Granularity
of locations returned for this request.
|
| long |
getMaxUpdateAgeMillis()
The maximum age of any location returned for this request.
|
| int |
hashCode()
|
| String |
toString()
|
| void |
writeToParcel(Parcel parcel, int
flags)
|
The Granularity
of locations returned for this request. This controls whether fine or coarse locations
may be returned.
The maximum age of any location returned for this request. A value of Long.MAX_VALUE
represents an effectively unbounded maximum age.