Package com.amazon.A3L.location
Annotation Type A3LPriority
-
public @interface A3LPriority
This class provides replication of Google's interface of Priority . Location power vs accuracy priority levels to be used with APIs withinA3LLocationProviderClient
.Priority values have been intentionally chosen to match the framework QUALITY constants, and the values are specified such that higher priorities should always have lower values and vice versa.
-
-
Field Summary
Fields Modifier and Type Fields Description static int
PRIORITY_BALANCED_POWER_ACCURACY
Requests a tradeoff that is balanced between location accuracy and power usage.static int
PRIORITY_HIGH_ACCURACY
Requests a tradeoff that favors highly accurate locations at the possible expense of additional power usage.static int
PRIORITY_LOW_POWER
Requests a tradeoff that favors low power usage at the possible expense of location accuracy.static int
PRIORITY_PASSIVE
Ensures that no extra power will be used to derive locations.
-
-
-
-
PRIORITY_PASSIVE
static final int PRIORITY_PASSIVE
Ensures 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, and no locations will be calculated on behalf of only this request.Constant Value: 105
-
-