A B C D E F G H I N O R S T V W
A
- addFence(TencentGeofence, PendingIntent) -
类 com.tencent.map.geolocation.TencentGeofenceManager 中的方法
- 添加一个围栏.
B
- build() -
类 com.tencent.map.geolocation.TencentGeofence.Builder 中的方法
- 根据已设置的参数生成新的 TencentGeofence 对象.
- BUILD -
类 com.tencent.map.geolocation.TencentLocationManager 中的静态变量
- 已过时。 见
TencentLocationManager.getBuild()
C
- CELL -
接口 com.tencent.map.geolocation.TencentLocationListener 中的静态变量
- 设备名, Cell.
- com.tencent.map.geolocation - 软件包 com.tencent.map.geolocation
-
- contains(TencentLocation, double, TencentLocation) -
类 com.tencent.map.geolocation.TencentLocationUtils 中的静态方法
- 判断一片圆形区域是否包含指定的坐标点.
- COORDINATE_TYPE_GCJ02 -
类 com.tencent.map.geolocation.TencentLocationManager 中的静态变量
- 坐标系标识, 国测局坐标(火星坐标).
- COORDINATE_TYPE_WGS84 -
类 com.tencent.map.geolocation.TencentLocationManager 中的静态变量
- 坐标系标识, WGS84坐标(GPS坐标, 地球坐标).
- copy(TencentLocationRequest, TencentLocationRequest) -
类 com.tencent.map.geolocation.TencentLocationRequest 中的静态方法
- 复制定位请求.
- create() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的静态方法
- 创建一个缺省的定位请求.
D
- destroy() -
类 com.tencent.map.geolocation.TencentGeofenceManager 中的方法
- 清理腾讯地理围栏服务.
- distanceBetween(TencentLocation, TencentLocation) -
类 com.tencent.map.geolocation.TencentLocationUtils 中的静态方法
- 返回两个位置之间的距离.
- distanceBetween(double, double, double, double) -
类 com.tencent.map.geolocation.TencentLocationUtils 中的静态方法
- 返回两个位置之间的距离, 位置分别为 (aLatitude, aLatitude) 和 (bLatitude, bLongitude).
E
- equals(Object) -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
-
- ERROR_BAD_JSON -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- 错误码, 表示 GPS, Wi-Fi 或基站错误引起的定位失败.
- ERROR_NETWORK -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- 错误码, 表示网络问题引起的定位失败.
- ERROR_OK -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- 错误码, 表示定位成功.
- ERROR_UNKNOWN -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- 错误码, 表示未知原因引起的定位失败.
- ERROR_WGS84 -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- 错误码, 表示无法进行坐标转换引起的定位失败.
- EXTRA_ADDRDESP_LANDMARK -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- key, 用于获取一级地标(可识别性较强、规模较大的地点、小区等), 仅用于5号定位接口.
- EXTRA_ADDRDESP_OTHERS_RESULTS -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- key, 用于获取其他结果, 仅用于5号定位接口.
- EXTRA_ADDRDESP_SECOND_LANDMARK -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- key, 用于获取二级地标(较一级地标更为精确,规模更小), 仅用于5号定位接口.
- EXTRA_DIRECTION -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- key, 用于获取设备方向.
F
- feedback(String, String, Object...) -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
- 发送用户反馈.
G
- getAccuracy() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的精度.
- getAddress() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的地址.
- getAddress() -
接口 com.tencent.map.geolocation.TencentPoi 中的方法
- 返回当前 POI 的地址.
- getAltitude() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的海拔, 单位为m(米), 仅当位置来自GPS时可能有效.
- getAreaStat() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的行政区划.
- getBearing() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置方向, 单位为度, 仅当位置来自GPS时可能有效.
- getBuild() -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
-
- getCatalog() -
接口 com.tencent.map.geolocation.TencentPoi 中的方法
- 返回当前 POI 的类别.
- getCity() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的城市.
- getCityCode() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的城市编码.
- getCoordinateType() -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
- 获取当前使用的坐标系.
- getDirection() -
接口 com.tencent.map.geolocation.TencentPoi 中的方法
- 返回与当前位置(定位中心点)的方向关系.
- getDistance() -
接口 com.tencent.map.geolocation.TencentPoi 中的方法
- 返回当前 POI 跟当前位置的距离, 单位为 m(米).
- getDistrict() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的区县.
- getDuration() -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
- 返回有效期, 单位为 ms(毫秒).
- getElapsedRealtime() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的生成时间(从设备启动时开始算起).
- getExpireAt() -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
- 返回过期时间, 过期时间 = 有效期 + SystemClock.elapsedRealtime()
- getExtra() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置相关的某些其他信息, 某个特定的字符串为 key.
- getExtras() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 返回 Extra 信息.
- getInstance(Context) -
类 com.tencent.map.geolocation.TencentLocationManager 中的静态方法
- 获取腾讯定位服务实例.
- getInterval() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 返回定位周期(位置监听器回调周期), 单位为ms(毫秒).
- getKey() -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
- 获取已设置的key, 未设置时返回 "".
- getLastKnownLocation() -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
- 返回最近一次的位置, 可能为 null.
- getLatitude() -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
- 返回纬度.
- getLatitude() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的纬度.
- getLatitude() -
接口 com.tencent.map.geolocation.TencentPoi 中的方法
- 返回当前 POI 的纬度.
- getLongitude() -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
- 返回经度.
- getLongitude() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的经度.
- getLongitude() -
接口 com.tencent.map.geolocation.TencentPoi 中的方法
- 返回当前 POI 的经度.
- getName() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的名称.
- getName() -
接口 com.tencent.map.geolocation.TencentPoi 中的方法
- 返回当前 POI 的名称.
- getNation() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的国家.
- getPhoneNumber() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 返回电话号码
- getPoiList() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置周围的 POI.
- getProvider() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的来源.
- getProvince() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的省份.
- getQQ() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 返回QQ号.
- getRadius() -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
- 返回半径, 单位为 m(米).
- getRequestLevel() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 返回定位的request level.
- getSpeed() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回移动速度, 单位为m/s (米/秒), 仅当位置来自GPS时可能有效.
- getStreet() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的街道.
- getStreetNo() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的街道编号.
- getTag() -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
- 返回唯一标识.
- getTime() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的生成时间.
- getTown() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的乡镇.
- getUid() -
接口 com.tencent.map.geolocation.TencentPoi 中的方法
- 返回当前 POI 的 uid.
- getVersion() -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
-
- getVillage() -
接口 com.tencent.map.geolocation.TencentLocation 中的方法
- 返回当前位置的村.
- GPS -
接口 com.tencent.map.geolocation.TencentLocationListener 中的静态变量
- 设备名, GPS.
- GPS_PROVIDER -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- 位置来源, GPS location provider.
H
- hashCode() -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
-
I
- isAllowCache() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 检查是否允许使用缓存.
- isAllowDirection() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 检查是否允许使用设备传感器获取方向
- isFromGps(TencentLocation) -
类 com.tencent.map.geolocation.TencentLocationUtils 中的静态方法
- 判断是否 GPS 定位.
- isFromNetwork(TencentLocation) -
类 com.tencent.map.geolocation.TencentLocationUtils 中的静态方法
- 判断是否 网络 定位.
- isLoadLibraryEnabled() -
类 com.tencent.map.geolocation.TencentLocationManagerOptions 中的静态方法
-
- isSupportGps(Context) -
类 com.tencent.map.geolocation.TencentLocationUtils 中的静态方法
- 判断设备是否有GPS模块可支持GPS定位
N
- NETWORK_PROVIDER -
接口 com.tencent.map.geolocation.TencentLocation 中的静态变量
- 位置来源, Network location provider.
O
- onLocationChanged(TencentLocation, int, String) -
接口 com.tencent.map.geolocation.TencentLocationListener 中的方法
- 位置发生变化.
- onStatusUpdate(String, int, String) -
接口 com.tencent.map.geolocation.TencentLocationListener 中的方法
- GPS, WiFi, Radio 等状态发生变化.
R
- RADIO -
接口 com.tencent.map.geolocation.TencentLocationListener 中的静态变量
- 已过时。
- removeAllFences() -
类 com.tencent.map.geolocation.TencentGeofenceManager 中的方法
- 删除全部围栏.
- removeFence(TencentGeofence) -
类 com.tencent.map.geolocation.TencentGeofenceManager 中的方法
- 移除一个围栏.
- removeFence(String) -
类 com.tencent.map.geolocation.TencentGeofenceManager 中的方法
- 根据围栏标识删除围栏.
- removeUpdates(TencentLocationListener) -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
- 移除位置监听器并停止定位.
- REQUEST_LEVEL_ADMIN_AREA -
类 com.tencent.map.geolocation.TencentLocationRequest 中的静态变量
- 定位结果信息级别: 3号定位接口, 包含经纬度, 行政区划.
- REQUEST_LEVEL_FORMATTED_ADDRESS -
类 com.tencent.map.geolocation.TencentLocationRequest 中的静态变量
- 定位结果信息级别: 5号定位接口, 包含经经纬度, 位置描述, 附近的POI.
- REQUEST_LEVEL_GEO -
类 com.tencent.map.geolocation.TencentLocationRequest 中的静态变量
- 定位结果信息级别: 0号定位接口, 仅包含经纬度坐标表示的地位置(经纬度).
- REQUEST_LEVEL_GLOBAL_ADMIN_AREA -
类 com.tencent.map.geolocation.TencentLocationRequest 中的静态变量
- 定位结果信息级别: 7号定位接口, 包含经纬度, 国际行政区划的位置, 部分国家与地区无法得到行政区划.
- REQUEST_LEVEL_NAME -
类 com.tencent.map.geolocation.TencentLocationRequest 中的静态变量
- 定位结果信息级别: 1号定位接口, 包含经纬度, 位置名称, 位置地址.
- REQUEST_LEVEL_POI -
类 com.tencent.map.geolocation.TencentLocationRequest 中的静态变量
- 定位结果信息级别: 4号定位接口, 包含经纬度, 行政区划, 附近的POI.
- requestLocationUpdates(TencentLocationRequest, TencentLocationListener) -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
- 请求定位, 位置更新将通过 listener 回调通知.
- requestLocationUpdates(TencentLocationRequest, TencentLocationListener, Looper) -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
- 请求(在与 looper 关联的线程中)定位, 位置更新将通过 listener 回调通知.
S
- setAllowCache(boolean) -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 设置是否允许使用缓存.
- setAllowDirection(boolean) -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 设置是否允许使用设备传感器获取方向.
- setCircularRegion(double, double, float) -
类 com.tencent.map.geolocation.TencentGeofence.Builder 中的方法
- 设置围栏经纬度(GCJ-02坐标)和半径.
- setCoordinateType(int) -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
- 设置坐标系.
- setExpirationDuration(long) -
类 com.tencent.map.geolocation.TencentGeofence.Builder 中的方法
- 设置围栏有效时间.
- setInterval(long) -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 设置定位周期(位置监听器回调周期), 单位为 ms (毫秒).
- setKey(String) -
类 com.tencent.map.geolocation.TencentLocationManager 中的方法
-
- setLoadLibraryEnabled(boolean) -
类 com.tencent.map.geolocation.TencentLocationManagerOptions 中的静态方法
- 设置是否由定位SDK自动加载so library(缺省时为自动加载).
- setPhoneNumber(String) -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 设置电话号.
- setQQ(String) -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 设置 QQ 号.
- setRequestLevel(int) -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
- 设置定位的 request level.
- setTag(String) -
类 com.tencent.map.geolocation.TencentGeofence.Builder 中的方法
- 设置围栏标识, 标识不为空且应当唯一.
- STATUS_DENIED -
接口 com.tencent.map.geolocation.TencentLocationListener 中的静态变量
- 状态码, 位置权限被拒绝.
- STATUS_DISABLED -
接口 com.tencent.map.geolocation.TencentLocationListener 中的静态变量
- 状态码, 已关闭.
- STATUS_ENABLED -
接口 com.tencent.map.geolocation.TencentLocationListener 中的静态变量
- 状态码, 已开启.
- STATUS_UNKNOWN -
接口 com.tencent.map.geolocation.TencentLocationListener 中的静态变量
- 状态码, 未知状态.
T
- TencentGeofence - com.tencent.map.geolocation 中的 类
- 地理围栏.
- TencentGeofence.Builder - com.tencent.map.geolocation 中的 类
- 用于生成 TencentGeofence 的 Builder.
- TencentGeofence.Builder() -
类 com.tencent.map.geolocation.TencentGeofence.Builder 的构造方法
-
- TencentGeofenceManager - com.tencent.map.geolocation 中的 类
- 用于访问腾讯地理围栏服务的类, 腾讯地理围栏服务向客户端提供围栏事件通知.
- TencentGeofenceManager(Context) -
类 com.tencent.map.geolocation.TencentGeofenceManager 的构造方法
-
- TencentLocation - com.tencent.map.geolocation 中的 接口
- 地理位置.
- TencentLocationListener - com.tencent.map.geolocation 中的 接口
- 位置监听器.
- TencentLocationManager - com.tencent.map.geolocation 中的 类
- 用于访问腾讯定位服务的类, 腾讯定位服务可周期性向客户端提供位置更新.
- TencentLocationManagerOptions - com.tencent.map.geolocation 中的 类
TencentLocationManager
调整选项.- TencentLocationManagerOptions() -
类 com.tencent.map.geolocation.TencentLocationManagerOptions 的构造方法
-
- TencentLocationRequest - com.tencent.map.geolocation 中的 类
- 定位请求, 客户端使用本类指定定位周期等参数.
- TencentLocationRequest(TencentLocationRequest) -
类 com.tencent.map.geolocation.TencentLocationRequest 的构造方法
-
- TencentLocationUtils - com.tencent.map.geolocation 中的 类
- 工具类.
- TencentPoi - com.tencent.map.geolocation 中的 接口
- POI (Point Of Interesting), 周围的兴趣点.
- toString() -
类 com.tencent.map.geolocation.TencentGeofence 中的方法
-
- toString() -
类 com.tencent.map.geolocation.TencentLocationRequest 中的方法
-
V
- VERSION -
类 com.tencent.map.geolocation.TencentLocationManager 中的静态变量
- 已过时。 见
TencentLocationManager.getVersion()
W
- WIFI -
接口 com.tencent.map.geolocation.TencentLocationListener 中的静态变量
- 设备名, WiFi.
A B C D E F G H I N O R S T V W