LocationRequestCompat
Compatibility version of LocationRequest.
Types
Link copied to clipboard
class Builder
A builder class for LocationRequestCompat.
Link copied to clipboard
Properties
Link copied to clipboard
Represents a passive only request.
Link copied to clipboard
A quality constant indicating a location provider may choose to satisfy this request by equally balancing power and accuracy constraints.
Link copied to clipboard
A quality constant indicating a location provider may choose to satisfy this request by providing very accurate locations at the expense of potentially increased power usage.
Link copied to clipboard
A quality constant indicating a location provider may choose to satisfy this request by providing less accurate locations in order to save power.
Functions
Link copied to clipboard
Returns the duration for which location will be provided before the request is automatically removed.
Link copied to clipboard
Returns the desired interval of location updates, or PASSIVE_INTERVAL if this is a passive, no power request.
Link copied to clipboard
Returns the maximum time any location update may be delayed, and thus grouped with following updates to enable location batching.
Link copied to clipboard
Returns the maximum number of location updates for this request before the request is automatically removed.
Link copied to clipboard
Returns the minimum distance between location updates.
Link copied to clipboard
Returns the minimum update interval.
Link copied to clipboard
Returns the quality hint for this location request.
Link copied to clipboard
Converts an instance to an equivalent LocationRequest.
Converts an instance to an equivalent LocationRequest, with the provider field of the resulting LocationRequest set to the provider argument provided to this method.