Example usage for Java android.location Criteria fields, constructors, methods, implement or subclass
The text is from its open source code.
int | NO_REQUIREMENT A constant indicating that the application does not choose to place requirement on a particular feature. |
int | POWER_LOW A constant indicating a low power requirement. |
int | POWER_MEDIUM A constant indicating a medium power requirement. |
int | POWER_HIGH A constant indicating a high power requirement. |
int | ACCURACY_FINE A constant indicating a finer location accuracy requirement |
int | ACCURACY_COARSE A constant indicating an approximate accuracy requirement |
int | ACCURACY_LOW A constant indicating a low location accuracy requirement - may be used for horizontal, altitude, speed or bearing accuracy. |
int | ACCURACY_MEDIUM A constant indicating a medium accuracy requirement - currently used only for horizontal accuracy. |
int | ACCURACY_HIGH a constant indicating a high accuracy requirement - may be used for horizontal, altitude, speed or bearing accuracy. |
Criteria() Constructs a new Criteria object. |
void | setAccuracy(int accuracy) Indicates the desired accuracy for latitude and longitude. |
void | setAltitudeRequired(boolean altitudeRequired) Indicates whether the provider must provide altitude information. |
void | setBearingAccuracy(int accuracy) Indicates the desired bearing accuracy. |
void | setBearingRequired(boolean bearingRequired) Indicates whether the provider must provide bearing information. |
void | setCostAllowed(boolean costAllowed) Indicates whether the provider is allowed to incur monetary cost. |
void | setHorizontalAccuracy(int accuracy) Indicates the desired horizontal accuracy (latitude and longitude). |
void | setPowerRequirement(int level) Indicates the desired maximum power level. |
void | setSpeedAccuracy(int accuracy) Indicates the desired speed accuracy. |
void | setSpeedRequired(boolean speedRequired) Indicates whether the provider must provide speed information. |
void | setVerticalAccuracy(int accuracy) Indicates the desired vertical accuracy (altitude). |