Builder
A builder class for LocationRequestCompat.
Constructors
Functions
Link copied to clipboard
Builds a location request from this builder.
Link copied to clipboard
Clears an explicitly set minimum update interval and reverts to an implicit minimum update interval (ie, the minimum update interval is the same value as the interval).
Link copied to clipboard
@NonNull
Sets the duration this request will continue before being automatically removed.
Link copied to clipboard
@NonNull
Sets the request interval.
Link copied to clipboard
@NonNull
Sets the maximum time any location update may be delayed, and thus grouped with following updates to enable location batching.
Link copied to clipboard
@NonNull
Sets the maximum number of location updates for this request before this request is automatically removed.
Link copied to clipboard
@NonNull
Sets the minimum update distance between location updates.
Link copied to clipboard
@NonNull
Sets an explicit minimum update interval.
Link copied to clipboard
Sets the request quality.