LocationRequest

constructor(priority: Priority = Priority.Balanced, interval: Long = 5000, maximumAge: Long = 0)

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.