- GeoFence - com.amap.api.fence中的类
-
地理围栏对象
Geofence object
- GeoFence() - 类 的构造器com.amap.api.fence.GeoFence
-
构造方法
Constructor
- GEOFENCE_IN - 类 中的静态变量com.amap.api.fence.GeoFenceClient
-
触发围栏行为-进入围栏
Trigger Fence Behavior - Enter Fence
- GEOFENCE_OUT - 类 中的静态变量com.amap.api.fence.GeoFenceClient
-
触发围栏行为-离开围栏
Trigger Fence Behavior - Exit Fence
- GEOFENCE_STAYED - 类 中的静态变量com.amap.api.fence.GeoFenceClient
-
触发围栏行为-停留在围栏内(在围栏内停留10分钟以上)
Trigger Fence Behavior - Stay in Fence (Stay in fence for more than 10 minutes)
- GeoFenceClient - com.amap.api.fence中的类
-
地理围栏客户端
GeoFence Client
- GeoFenceClient(Context) - 类 的构造器com.amap.api.fence.GeoFenceClient
-
- GeoFenceListener - com.amap.api.fence中的接口
-
地理围栏回调接口
Geofence Callback Interface
- getAccuracy() - 类 中的方法com.amap.api.location.AMapLocation
-
获取定位精度
单位:米
Get Location Accuracy
Unit: meters
- getActivatesAction() - 类 中的方法com.amap.api.fence.GeoFence
-
获取设置的地理围栏触发条件
Get set geofence trigger conditions
- getAdcode() - 类 中的方法com.amap.api.fence.DistrictItem
-
获取区域编码
Get Area Code
- getAdCode() - 类 中的方法com.amap.api.location.AMapLocation
-
- getAddress() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI的地址信息
Get the address information of the POI
- getAddress() - 类 中的方法com.amap.api.location.AMapLocation
-
- getAdname() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI所在的区域名称
Get the area name where the POI is located
- getAdviseMessage() - 类 中的方法com.amap.api.location.AMapLocationQualityReport
-
获取提示语义,状态良好时,返回的是内容为空
根据当前的质量报告,给出相应的建议
Get prompt semantics, when the status is good, the returned content is empty
Provide corresponding suggestions based on the current quality report
- getAllGeoFence() - 类 中的方法com.amap.api.fence.GeoFenceClient
-
获取所有已经创建的地理围栏
Get all created geofences
- getAltitude() - 类 中的方法com.amap.api.location.AMapLocation
-
- getAoiName() - 类 中的方法com.amap.api.location.AMapLocation
-
- getAPIKEY() - 类 中的静态方法com.amap.api.location.AMapLocationClientOption
-
获取通过client的setApikey接口设置的key
Get the key set via the client's setApikey interface
- getAuuid() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
- getBearing() - 类 中的方法com.amap.api.location.AMapLocation
-
- getBearingAccuracyDegrees() - 类 中的方法com.amap.api.location.AMapLocation
-
- getBuildingId() - 类 中的方法com.amap.api.location.AMapLocation
-
返回支持室内定位的建筑物ID信息
Return the building ID information that supports indoor positioning
- getCacheCallBack() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取是否打开2分钟缓存提速开关
Get whether the 2-minute cache acceleration switch is enabled
- getCacheCallBackTime() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取缓存提速超时时间
Get the timeout for cache acceleration
- getCacheTimeOut() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取提速功能缓存最大时间
Get the maximum cache time for the acceleration function
- getCenter() - 类 中的方法com.amap.api.fence.GeoFence
-
获取围栏中心点坐标
Get fence center point coordinates
- getCity() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI所在的城市名称
Get the city name where the POI is located
- getCity() - 类 中的方法com.amap.api.location.AMapLocation
-
- getCitycode() - 类 中的方法com.amap.api.fence.DistrictItem
-
获取城市编码
Get City Code
- getCityCode() - 类 中的方法com.amap.api.location.AMapLocation
-
- getConScenario() - 类 中的方法com.amap.api.location.AMapLocation
-
室内外置信度
室内:且置信度取值在[1 ~ 100],值越大在室内的可能性越大
室外:且置信度取值在[-100 ~ -1] ,值越小在室外的可能性越大
无法识别室内外:置信度返回值为 0
- getCoord() - 类 中的方法com.amap.api.location.AMapLocation
-
获取坐标系
- getCoordType() - 类 中的方法com.amap.api.location.AMapLocation
-
- getCountry() - 类 中的方法com.amap.api.location.AMapLocation
-
获取国家名称
Get country name
- getCreator() - 类 中的静态方法com.amap.api.fence.DistrictItem
-
- getCreator() - 类 中的静态方法com.amap.api.fence.PoiItem
-
- getCurrentLocation() - 类 中的方法com.amap.api.fence.GeoFence
-
获取当前位置,只有在围栏触发时才有值,其它情况值为null
Get current location, only has value when fence is triggered, otherwise null
- getCustomId() - 类 中的方法com.amap.api.fence.GeoFence
-
获取自定义的围栏ID(添加围栏时设置)
Get custom fence ID (set when adding fence)
- getDescription() - 类 中的方法com.amap.api.location.AMapLocation
-
获取位置语义信息
Get Location Semantic Information
- getDeviceId(Context) - 类 中的静态方法com.amap.api.location.AMapLocationClient
-
获取设备号
Get device ID
- getDeviceModeDistanceFilter() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
- getDiagnosisType() - 类 中的方法com.amap.api.location.AMapLocation
-
返回伪造识别类型
- getDistrict() - 类 中的方法com.amap.api.location.AMapLocation
-
- getDistrictItemList() - 类 中的方法com.amap.api.fence.GeoFence
-
- getDistrictName() - 类 中的方法com.amap.api.fence.DistrictItem
-
获取行政区划名称
Get Administrative Division Name
- getEnterTime() - 类 中的方法com.amap.api.fence.GeoFence
-
获取进入围栏的系统时间(启动时间),单位:毫秒
Get system time when entering fence (start time), unit: milliseconds
- getErrorCode() - 类 中的方法com.amap.api.location.AMapLocation
-
获取错误码
Get error code
- getErrorInfo() - 类 中的方法com.amap.api.location.AMapLocation
-
获取错误信息
Get error message
- getExpiration() - 类 中的方法com.amap.api.fence.GeoFence
-
获取超时时间, 默认为-1(暂时不对外提供)
Get timeout, default is -1 (temporarily not available)
- getExtras() - 类 中的方法com.amap.api.location.AMapLocation
-
- getFenceId() - 类 中的方法com.amap.api.fence.GeoFence
-
获取地理围栏的ID
Get the ID of the geofence
- getFloor() - 类 中的方法com.amap.api.location.AMapLocation
-
获取室内定位的楼层信息
Get Floor Information for Indoor Positioning
- getFloorName() - 类 中的方法com.amap.api.location.AMapLocation
-
- getGeoLanguage() - 类 中的方法com.amap.api.location.AMapLocation
-
- getGeoLanguage() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取逆地理的语言
Get the language of reverse geocoding
- getGpsAccuracyStatus() - 类 中的方法com.amap.api.location.AMapLocation
-
获取卫星信号强度,仅在卫星定位时有效,值为
#GPS_ACCURACY_BAD,#GPS_ACCURACY_GOOD,#GPS_ACCURACY_UNKNOWN
- getGpsFirstTimeout() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取优先返回定位信息时等待GPS结果的超时时间
Get the timeout for waiting for GPS results when prioritizing returning location information
- getGPSSatellites() - 类 中的方法com.amap.api.location.AMapLocationQualityReport
-
获取当前的卫星数, 只有在非低功耗模式下此值才有效
Get the current number of satellites, this value is only valid in non-low power mode
- getGPSStatus() - 类 中的方法com.amap.api.location.AMapLocationQualityReport
-
获取卫星状态信息,只有在非低功耗模式下此值才有效
Get satellite status information, this value is only valid in non-low power mode
- getHttpTimeOut() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取联网超时时间
单位:毫秒
默认值:30000毫秒
Get network timeout
Unit: milliseconds
Default value: 30000 milliseconds
- getInterval() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取发起定位请求的时间间隔
默认值:2000毫秒
Get the time interval for initiating location requests
Default value: 2000 milliseconds
- getIod() - 类 中的方法com.amap.api.location.AMapLocation
-
返回室内外状态
0:半室内,1:室内,2:室外
- getIodConfidence() - 类 中的方法com.amap.api.location.AMapLocation
-
返回室内外状态置信度
- getLangType() - 枚举 中的方法com.amap.api.location.AMapLocationClientOption.GeoLanguage
-
- getLastKnownLocation() - 类 中的方法com.amap.api.location.AMapLocationClient
-
获取最后位置
Get last location
- getLastLocationLifeCycle() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取跨应用缓存的有效时间, 默认30s
Get the validity time of cross-application cache, default is 30s
- getLatitude() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI的纬度
Get the latitude of the POI
- getLatitude() - 类 中的方法com.amap.api.location.AMapLocation
-
获取纬度
Get Latitude
- getLatitude() - 类 中的方法com.amap.api.location.DPoint
-
获取坐标点的纬度
Get the latitude of the coordinate point
- getLocationDetail() - 类 中的方法com.amap.api.location.AMapLocation
-
获取定位信息描述
Get location information description
- getLocationMode() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取定位模式 默认值:Hight_Accuracy 高精度模式
Get location mode Default: Hight_Accuracy High accuracy mode
- getLocationProtocol() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取定位协议 默认值:HTTP http协议
Get location protocol Default: HTTP http protocol
- getLocationPurpose() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取定位场景
Get the positioning scenario
- getLocationQualityReport() - 类 中的方法com.amap.api.location.AMapLocation
-
获取定位质量
Get location quality
- getLocationTickTime() - 类 中的方法com.amap.api.location.AMapLocation
-
返回定位的系统滴答数时间
单位是纳秒
开机以后的累计时间,重启后归0
- getLocationType() - 类 中的方法com.amap.api.location.AMapLocation
-
获取定位结果来源
Get location result source
- getLocationUtcTime() - 类 中的方法com.amap.api.location.AMapLocation
-
返回定位的UTC时间
单位是毫秒
1970年到现在过去的毫秒数
- getLongitude() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI的经度
Get the longitude of the POI
- getLongitude() - 类 中的方法com.amap.api.location.AMapLocation
-
获取经度
Get Longitude
- getLongitude() - 类 中的方法com.amap.api.location.DPoint
-
获取坐标点的经度
Get the longitude of the coordinate point
- getMaxDis2Center() - 类 中的方法com.amap.api.fence.GeoFence
-
获取围栏边界与中心点的点最大距离
Get maximum distance between fence boundary and center point
- getMinDis2Center() - 类 中的方法com.amap.api.fence.GeoFence
-
获取围栏边界与中心点的最小距离
Get minimum distance between fence boundary and center point
- getNetUseTime() - 类 中的方法com.amap.api.location.AMapLocationQualityReport
-
获取网络定位时的网络耗时 单位:毫秒
Get network time consumption during network positioning, unit: milliseconds
- getNetworkType() - 类 中的方法com.amap.api.location.AMapLocationQualityReport
-
获取网络连接类型(2G、3G、4G、WIFI)
Get Network Connection Type (2G, 3G, 4G, WIFI)
- getOptAttr(String) - 类 中的方法com.amap.api.location.AMapLocation
-
- getOptAttrBoolean(String, boolean) - 类 中的方法com.amap.api.location.AMapLocation
-
- getOptAttrDouble(String, double) - 类 中的方法com.amap.api.location.AMapLocation
-
- getOptAttrFloat(String, float) - 类 中的方法com.amap.api.location.AMapLocation
-
- getOptAttrInt(String, int) - 类 中的方法com.amap.api.location.AMapLocation
-
- getOptAttrLong(String, long) - 类 中的方法com.amap.api.location.AMapLocation
-
- getOptAttrString(String, String) - 类 中的方法com.amap.api.location.AMapLocation
-
- getOptContent() - 类 中的方法com.amap.api.location.AMapLocation
-
获取可选的字符串内容
一般存储位置的排查信息
- getPendingIntent() - 类 中的方法com.amap.api.fence.GeoFence
-
获取对应的PendingIntent对象
Get the corresponding PendingIntent object
- getPendingIntentAction() - 类 中的方法com.amap.api.fence.GeoFence
-
获取对应的PendingIntent的action字符串
Get the action string of the corresponding PendingIntent
- getPoiId() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI的ID
Get the ID of the POI
- getPoiItem() - 类 中的方法com.amap.api.fence.GeoFence
-
- getPoiName() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI的名称
Get the name of the POI
- getPoiName() - 类 中的方法com.amap.api.location.AMapLocation
-
- getPointList() - 类 中的方法com.amap.api.fence.GeoFence
-
获取围栏坐标点
Get fence coordinates
- getPoiType() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI的类型
Get the type of the POI
- getPolyline() - 类 中的方法com.amap.api.fence.DistrictItem
-
获取行政区划轮廓坐标点
Get Administrative Division Boundary Coordinates
- getPriority() - 类 中的方法com.amap.api.location.AMapLocation
-
获取位置优先级 内部使用
- getProvider() - 类 中的方法com.amap.api.location.AMapLocation
-
获取定位提供者
Get location provider
- getProvince() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI所在的省份名称
Get the province name where the POI is located
- getProvince() - 类 中的方法com.amap.api.location.AMapLocation
-
- getRadius() - 类 中的方法com.amap.api.fence.GeoFence
-
- getReGeoLocation(AMapLocation) - 类 中的方法com.amap.api.location.AMapLocationClient
-
获取带有逆地理信息的定位
Get location with reverse geolocation information
- getRoad() - 类 中的方法com.amap.api.location.AMapLocation
-
- getSatellites() - 类 中的方法com.amap.api.location.AMapLocation
-
获取当前可用卫星数量, 仅在卫星定位时有效,
Get the current number of available satellites, only valid during satellite positioning,
- getScanWifiInterval() - 类 中的方法com.amap.api.location.AMapLocationClientOption
-
获取Android P上wifi扫描间隔
Get the wifi scanning interval on Android P
- getSemantics() - 类 中的方法com.amap.api.location.AMapLocation
-
返回语义定位
是一个json串,协议复杂
- getSource() - 类 中的方法com.amap.api.location.AMapLocation
-
返回定位来源
例如高德自身产生定位,第三方提供的定位
- getSpeed() - 类 中的方法com.amap.api.location.AMapLocation
-
- getSpeedAccuracyMetersPerSecond() - 类 中的方法com.amap.api.location.AMapLocation
-
- getStatus() - 类 中的方法com.amap.api.fence.GeoFence
-
获取围栏的状态
Get fence status
- getStreet() - 类 中的方法com.amap.api.location.AMapLocation
-
- getStreetNum() - 类 中的方法com.amap.api.location.AMapLocation
-
- getSubType() - 类 中的方法com.amap.api.location.AMapLocation
-
返回定位子类型
- getTel() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI的电话号码
Get the phone number of the POI
- getTrustedLevel() - 类 中的方法com.amap.api.location.AMapLocation
-
- getType() - 类 中的方法com.amap.api.fence.GeoFence
-
获取围栏类型
Get fence typ
- getType() - 类 中的方法com.amap.api.location.AMapLocation
-
返回定位类型
- getTypeCode() - 类 中的方法com.amap.api.fence.PoiItem
-
获取POI的类型编码
Get the type code of the POI
- getValue() - 枚举 中的方法com.amap.api.location.AMapLocationClientOption.AMapLocationProtocol
-
- getVersion() - 类 中的方法com.amap.api.location.AMapLocationClient
-
获取定位sdk版本信息
Get location SDK version information
- getVerticalAccuracyMeters() - 类 中的方法com.amap.api.location.AMapLocation
-
- GPS_ACCURACY_BAD - 类 中的静态变量com.amap.api.location.AMapLocation
-
卫星信号弱
Weak satellite signal
- GPS_ACCURACY_GOOD - 类 中的静态变量com.amap.api.location.AMapLocation
-
卫星信号强
Strong satellite signal
- GPS_ACCURACY_UNKNOWN - 类 中的静态变量com.amap.api.location.AMapLocation
-
卫星状态未知
Satellite status unknown
- GPS_STATUS_MODE_SAVING - 类 中的静态变量com.amap.api.location.AMapLocationQualityReport
-
卫星定位状态--选择的定位模式中不包含卫星定位
Android 4.4以上的手机设置中开启了定位(位置)服务,但是选择的模式为省电模式,不包含卫星定位
建议选择包含gps定位的模式(例如:高精度、仅设备)
Satellite Positioning Status--The selected positioning mode does not include satellite positioning
The location service is turned on in the settings of phones above Android 4.4, but the selected mode is power saving mode, which does not include satellite positioning
It is recommended to select a mode that includes GPS positioning (e.g., High Accuracy, Device Only)
- GPS_STATUS_NOGPSPERMISSION - 类 中的静态变量com.amap.api.location.AMapLocationQualityReport
-
卫星定位状态--没有GPS定位权限
如果没有GPS定位权限无法进行卫星定位, 建议在安全软件中授予GPS定位权限
Satellite Positioning Status--No GPS positioning permission
If there is no GPS positioning permission, satellite positioning cannot be performed.
- GPS_STATUS_NOGPSPROVIDER - 类 中的静态变量com.amap.api.location.AMapLocationQualityReport
-
卫星定位状态--手机中没有GPS Provider,无法进行卫星定位
Satellite Positioning Status--No GPS Provider in the phone, unable to perform satellite positioning
- GPS_STATUS_OFF - 类 中的静态变量com.amap.api.location.AMapLocationQualityReport
-
卫星定位状态--GPS开关关闭
建议开启GPS开关,提高定位质量
Android 4.4以下的手机是gps开关关闭-建议开启gps开关
Android 4.4以上的手机设置中关闭了定位(位置)服务-建议开启定位服务,并选择包含gps的定位模式
Satellite Positioning Status--GPS switch is off
It is recommended to turn on the GPS switch to improve positioning quality
For phones below Android 4.4, the GPS switch is off - it is recommended to turn on the GPS switch
For phones above Android 4.4, the location service is turned off in the settings - it is recommended to turn on the location service and select a positioning mode that includes GPS
- GPS_STATUS_OK - 类 中的静态变量com.amap.api.location.AMapLocationQualityReport
-
卫星定位状态--正常
Satellite Positioning Status--Normal