Priority

public abstract @interface Priority implements Annotation

Location power vs accuracy priority levels to be used with APIs within FusedLocationProviderClient.

Constant Summary

int PRIORITY_BALANCED_POWER_ACCURACY Requests a tradeoff that is balanced between location accuracy and power usage.
int PRIORITY_HIGH_ACCURACY Requests a tradeoff that favors highly accurate locations at the possible expense of additional power usage.
int PRIORITY_LOW_POWER Requests a tradeoff that favors low power usage at the possible expense of location accuracy.
int PRIORITY_PASSIVE Ensure that no extra power will be used to derive locations.

Inherited Method Summary

Constants

public static final int PRIORITY_BALANCED_POWER_ACCURACY

Requests a tradeoff that is balanced between location accuracy and power usage.

Constant Value: 102

public static final int PRIORITY_HIGH_ACCURACY

Requests a tradeoff that favors highly accurate locations at the possible expense of additional power usage.

Constant Value: 100

public static final int PRIORITY_LOW_POWER

Requests a tradeoff that favors low power usage at the possible expense of location accuracy.

Constant Value: 104

public static final int PRIORITY_PASSIVE

Ensure that no extra power will be used to derive locations. This enforces that the request will act as a passive listener that will only receive "free" locations calculated on behalf of other clients.

Constant Value: 105