LocationRequest
class LocationRequest(val priority: Priority = Priority.Balanced, val interval: Long = 5000, val maximumAge: Long = 0)
Represents a request for location updates.
Parameters
priority
The priority of the request.
interval
The interval at which to receive location updates, in milliseconds.
maximumAge
The maximum age of a cached location that can be used before a new location is requested, in milliseconds.