# 常量字段值

## 目录

- com.amap.*

## com.amap.*

- com.amap.api.fence.GeoFence
  限定符和类型 | 常量字段 | 值
  --- | --- | ---
  `public static final int` | `ADDGEOFENCE_SUCCESS` | `0`
  `public static final java.lang.String` | `BUNDLE_KEY_CUSTOMID` | `"customId"`
  `public static final java.lang.String` | `BUNDLE_KEY_FENCE` | `"fence"`
  `public static final java.lang.String` | `BUNDLE_KEY_FENCEID` | `"fenceid"`
  `public static final java.lang.String` | `BUNDLE_KEY_FENCESTATUS` | `"event"`
  `public static final java.lang.String` | `BUNDLE_KEY_LOCERRORCODE` | `"location_errorcode"`
  `public static final int` | `ERROR_CODE_EXISTS` | `17`
  `public static final int` | `ERROR_CODE_FAILURE_AUTH` | `7`
  `public static final int` | `ERROR_CODE_FAILURE_CONNECTION` | `4`
  `public static final int` | `ERROR_CODE_FAILURE_PARSER` | `5`
  `public static final int` | `ERROR_CODE_INVALID_PARAMETER` | `1`
  `public static final int` | `ERROR_CODE_UNKNOWN` | `8`
  `public static final int` | `ERROR_NO_VALIDFENCE` | `16`
  `public static final int` | `STATUS_IN` | `1`
  `public static final int` | `STATUS_LOCFAIL` | `4`
  `public static final int` | `STATUS_OUT` | `2`
  `public static final int` | `STATUS_STAYED` | `3`
  `public static final int` | `STATUS_UNKNOWN` | `0`
  `public static final int` | `TYPE_AMAPPOI` | `2`
  `public static final int` | `TYPE_DISTRICT` | `3`
  `public static final int` | `TYPE_POLYGON` | `1`
  `public static final int` | `TYPE_ROUND` | `0`

- com.amap.api.fence.GeoFenceClient
  限定符和类型 | 常量字段 | 值
  --- | --- | ---
  `public static final int` | `GEOFENCE_IN` | `1`
  `public static final int` | `GEOFENCE_OUT` | `2`
  `public static final int` | `GEOFENCE_STAYED` | `4`

- com.amap.api.location.AMapLocation
  限定符和类型 | 常量字段 | 值
  --- | --- | ---
  `public static final int` | `ERROR_CODE_AIRPLANEMODE_WIFIOFF` | `18`
  `public static final int` | `ERROR_CODE_FAILURE_AUTH` | `7`
  `public static final int` | `ERROR_CODE_FAILURE_CELL` | `11`
  `public static final int` | `ERROR_CODE_FAILURE_COARSE_LOCATION` | `20`
  `public static final int` | `ERROR_CODE_FAILURE_CONNECTION` | `4`
  `public static final int` | `ERROR_CODE_FAILURE_INIT` | `9`
  `public static final int` | `ERROR_CODE_FAILURE_LOCATION` | `6`
  `public static final int` | `ERROR_CODE_FAILURE_LOCATION_PARAMETER` | `3`
  `public static final int` | `ERROR_CODE_FAILURE_LOCATION_PERMISSION` | `12`
  `public static final int` | `ERROR_CODE_FAILURE_NOENOUGHSATELLITES` | `14`
  `public static final int` | `ERROR_CODE_FAILURE_NOWIFIANDAP` | `13`
  `public static final int` | `ERROR_CODE_FAILURE_PARSER` | `5`
  `public static final int` | `ERROR_CODE_FAILURE_SIMULATION_LOCATION` | `15`
  `public static final int` | `ERROR_CODE_FAILURE_WIFI_INFO` | `2`
  `public static final int` | `ERROR_CODE_INVALID_PARAMETER` | `1`
  `public static final int` | `ERROR_CODE_NOCGI_WIFIOFF` | `19`
  `public static final int` | `ERROR_CODE_SERVICE_FAIL` | `10`
  `public static final int` | `ERROR_CODE_UNKNOWN` | `8`
  `public static final int` | `GPS_ACCURACY_BAD` | `0`
  `public static final int` | `GPS_ACCURACY_GOOD` | `1`
  `public static final int` | `GPS_ACCURACY_UNKNOWN` | `-1`
  `public static final int` | `LOCATION_COMPENSATION` | `10`
  `public static final int` | `LOCATION_SUCCESS` | `0`
  `public static final int` | `LOCATION_TYPE_CELL` | `6`
  `public static final int` | `LOCATION_TYPE_COARSE_LOCATION` | `11`
  `public static final int` | `LOCATION_TYPE_FAST` | `3`
  `public static final int` | `LOCATION_TYPE_FIX_CACHE` | `4`
  `public static final int` | `LOCATION_TYPE_GPS` | `1`
  `public static final int` | `LOCATION_TYPE_LAST_LOCATION_CACHE` | `9`
  `public static final int` | `LOCATION_TYPE_OFFLINE` | `8`
  `public static final int` | `LOCATION_TYPE_SAME_REQ` | `2`
  `public static final int` | `LOCATION_TYPE_WIFI` | `5`
  `public static final int` | `TRUSTED_LEVEL_BAD` | `4`
  `public static final int` | `TRUSTED_LEVEL_HIGH` | `1`
  `public static final int` | `TRUSTED_LEVEL_LOW` | `3`
  `public static final int` | `TRUSTED_LEVEL_NORMAL` | `2`

- com.amap.api.location.AMapLocationQualityReport
  限定符和类型 | 常量字段 | 值
  --- | --- | ---
  `public static final int` | `GPS_STATUS_MODE_SAVING` | `3`
  `public static final int` | `GPS_STATUS_NOGPSPERMISSION` | `4`
  `public static final int` | `GPS_STATUS_NOGPSPROVIDER` | `1`
  `public static final int` | `GPS_STATUS_OFF` | `2`
  `public static final int` | `GPS_STATUS_OK` | `0`