跳过导航链接
A B C D E G H I N O R S T W 

A

addFence(TencentGeofence, PendingIntent) - 类 中的方法com.tencent.map.geolocation.TencentGeofenceManager
添加一个围栏.

B

build() - 类 中的方法com.tencent.map.geolocation.TencentGeofence.Builder
根据已设置的参数生成新的 TencentGeofence 对象.
Builder() - 类 的构造器com.tencent.map.geolocation.TencentGeofence.Builder
 

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, 用于获取设备方向.
EXTRA_RESP_JSON - 接口 中的静态变量com.tencent.map.geolocation.TencentLocation
key, 用于获取JSON形式的原始定位响应.

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
返回当前位置的城市编码.
getConfidence() - 接口 中的方法com.tencent.map.geolocation.TencentDistanceAnalysis
 
getCoordinateType() - 接口 中的方法com.tencent.map.geolocation.TencentLocation
返回当前坐标系,设置为GCJ02坐标系时,大陆返回的为GCJ02,大陆之外返回WGS84。
getCoordinateType() - 类 中的方法com.tencent.map.geolocation.TencentLocationManager
获取当前使用的坐标系.
getDirection() - 接口 中的方法com.tencent.map.geolocation.TencentLocation
返回方向,仅来自传感器方向,如果是gps,则直接获取gps方向
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 信息.
getGpsCount() - 接口 中的方法com.tencent.map.geolocation.TencentDistanceAnalysis
 
getGPSRssi() - 接口 中的方法com.tencent.map.geolocation.TencentLocation
返回GPS信号强度,仅当provider为gps时可用
getIndoorBuildingFloor() - 接口 中的方法com.tencent.map.geolocation.TencentLocation
返回室内定位楼层信息,目前只在腾讯支持室内定位的地方有返回,默认1000
getIndoorBuildingId() - 接口 中的方法com.tencent.map.geolocation.TencentLocation
返回室内定位建筑物ID信息,目前只在腾讯支持室内定位的地方有返回,默认null
getIndoorLocationType() - 接口 中的方法com.tencent.map.geolocation.TencentLocation
返回室内定位类型,目前仅当室内定位有效时有意义,开发者默认不需要关注
getInstance(Context) - 类 中的静态方法com.tencent.map.geolocation.TencentLocationManager
获取腾讯定位服务实例,该方法需要在带有looper的线程调用,SDK会保证无耗时操作并立即返回。
getInterval() - 类 中的方法com.tencent.map.geolocation.TencentLocationRequest
返回定位周期(位置监听器回调周期), 单位为ms(毫秒).
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
返回当前位置的国家.
getNetworkCount() - 接口 中的方法com.tencent.map.geolocation.TencentDistanceAnalysis
 
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
检查是否允许使用设备传感器获取方向
isAllowGPS() - 类 中的方法com.tencent.map.geolocation.TencentLocationRequest
检查是否允许使用GPS.
isFromGps(TencentLocation) - 类 中的静态方法com.tencent.map.geolocation.TencentLocationUtils
判断是否 GPS 定位.
isFromNetwork(TencentLocation) - 类 中的静态方法com.tencent.map.geolocation.TencentLocationUtils
判断是否 网络 定位.
isLoadLibraryEnabled() - 类 中的静态方法com.tencent.map.geolocation.TencentLocationManagerOptions
 
isMockGps() - 接口 中的方法com.tencent.map.geolocation.TencentLocation
当使用GPS定位时,判断该GPS位置点是否为Mock数据
isSupportGps(Context) - 类 中的静态方法com.tencent.map.geolocation.TencentLocationUtils
判断设备是否有GPS模块可支持GPS定位

N

NETWORK_PROVIDER - 接口 中的静态变量com.tencent.map.geolocation.TencentLocation
位置来源, Network location provider.

O

onDistanceChanged(TencentLocation, double, int, String) - 接口 中的方法com.tencent.map.geolocation.TencentDistanceListener
距离发生变化.
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_GEO - 类 中的静态变量com.tencent.map.geolocation.TencentLocationRequest
定位结果信息级别: 0号定位接口, 仅包含经纬度坐标表示的地位置(经纬度).
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 回调通知.
requestSingleFreshLocation(TencentLocationListener, Looper) - 类 中的方法com.tencent.map.geolocation.TencentLocationManager
获取当前单次定位,才方法可在未启动周期性回调时获取一次最新位置 也可以在启动周期性回调时,强制刷新得到一次最新的位置信息 该接口在单次定位时,获取位置结果为1号定位接口,在启动周期性回调时, 结果跟随TencentLocationRequest中设置的定位接口号码。

S

setAllowCache(boolean) - 类 中的方法com.tencent.map.geolocation.TencentLocationRequest
设置是否允许使用缓存.
setAllowDirection(boolean) - 类 中的方法com.tencent.map.geolocation.TencentLocationRequest
设置是否允许使用设备传感器获取方向.
setAllowGPS(boolean) - 类 中的方法com.tencent.map.geolocation.TencentLocationRequest
设置是否允许使用GPS进行定位,默认允许.
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 (毫秒).
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
设置围栏标识, 标识不为空且应当唯一.
startDistanceCalculate(TencentDistanceListener) - 类 中的方法com.tencent.map.geolocation.TencentLocationManager
开始计算里程, 位置和里程更新将通过 listener 回调通知.
startIndoorLocation() - 类 中的方法com.tencent.map.geolocation.TencentLocationManager
立即启动高精度室内定位.
STATUS_DENIED - 接口 中的静态变量com.tencent.map.geolocation.TencentLocationListener
状态码, 位置权限被拒绝,通常由于LBE类似的管理软件禁止了app的定位权限.
STATUS_DISABLED - 接口 中的静态变量com.tencent.map.geolocation.TencentLocationListener
状态码, 代表设备(wifi、基站、GPS)已关闭.
STATUS_ENABLED - 接口 中的静态变量com.tencent.map.geolocation.TencentLocationListener
状态码, 代表设备(wifi、基站、GPS)已开启(开启并不意味着可用).
STATUS_GPS_AVAILABLE - 接口 中的静态变量com.tencent.map.geolocation.TencentLocationListener
状态码,GPS可用,代表GPS开关打开,且搜星定位成功
STATUS_GPS_UNAVAILABLE - 接口 中的静态变量com.tencent.map.geolocation.TencentLocationListener
状态码,GPS不可用,不可用有多种可能,比如GPS开关被关闭,GPS开关开着但是没办法搜到卫星等等
STATUS_LOCATION_SWITCH_OFF - 接口 中的静态变量com.tencent.map.geolocation.TencentLocationListener
状态码,表示位置服务开关未打开
STATUS_UNKNOWN - 接口 中的静态变量com.tencent.map.geolocation.TencentLocationListener
状态码, 未知状态.
stopDistanceCalculate(TencentDistanceListener) - 类 中的方法com.tencent.map.geolocation.TencentLocationManager
结束里程计算和定位.
stopIndoorLocation() - 类 中的方法com.tencent.map.geolocation.TencentLocationManager
立即中断室内定位组件运行,相当于interrupt the indoor thread。

T

TencentDistanceAnalysis - com.tencent.map.geolocation中的接口
里程结果分析对象.
TencentDistanceListener - com.tencent.map.geolocation中的接口
里程变化监听器.
TencentGeofence - com.tencent.map.geolocation中的类
地理围栏.
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中的类
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
 

W

WIFI - 接口 中的静态变量com.tencent.map.geolocation.TencentLocationListener
设备名, WiFi.
A B C D E G H I N O R S T W 
跳过导航链接