TencentLocationSDK_iOS_v3.1
TencentLBSLocation类 参考
类 TencentLBSLocation 继承关系图:

构造函数

(double) - distanceFromLocation:
 

属性

CLLocation * location
 
NSInteger areaStat
 
NSString * buildingId
 
NSString * buildingFloor
 
NSInteger indoorLocationType
 
NSString * name
 
NSString * address
 
NSInteger nationCode
 
NSString * code
 
NSString * nation
 
NSString * province
 
NSString * city
 
NSString * district
 
NSString * town
 
NSString * village
 
NSString * street
 
NSString * street_no
 
NSArray< TencentLBSPoi * > * poiList
 

函数文档

◆ distanceFromLocation:()

- (double) distanceFromLocation: (const TencentLBSLocation *)  location

返回两个位置之间的横向距离

属性说明

◆ address

- (NSString*) address
readwritenonatomiccopy

返回当前位置的地址 仅当TencentLBSRequestLevel为TencentLBSRequestLevelName或TencentLBSRequestLevelAdminName有返回值,否则为空

◆ areaStat

- (NSInteger) areaStat
readwritenonatomicassign

返回当前位置的行政区划, 0-表示中国大陆、港、澳, 1-表示其他

◆ buildingFloor

- (NSString*) buildingFloor
readwritenonatomiccopy

返回室内定位楼层

◆ buildingId

- (NSString*) buildingId
readwritenonatomiccopy

返回室内定位楼宇Id

◆ city

- (NSString*) city
readwritenonatomiccopy

返回当前位置的城市 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ code

- (NSString*) code
readwritenonatomiccopy

返回当前位置的城市编码 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ district

- (NSString*) district
readwritenonatomiccopy

返回当前位置的区县 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ indoorLocationType

- (NSInteger) indoorLocationType
readwritenonatomicassign

返回室内定位类型,0表示普通定位结果,1表示蓝牙室内定位结果

◆ location

- (CLLocation*) location
readwritenonatomicstrong

返回当前位置的CLLocation信息

◆ name

- (NSString*) name
readwritenonatomiccopy

返回当前位置的名称, 仅当TencentLBSRequestLevel为TencentLBSRequestLevelName或TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ nation

- (NSString*) nation
readwritenonatomiccopy

返回当前位置的国家 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ nationCode

- (NSInteger) nationCode
readwritenonatomicassign

返回当前位置的国家编码,目前暂不可用 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为0

◆ poiList

- (NSArray<TencentLBSPoi*>*) poiList
readwritenonatomicstrong

返回当前位置周围的POI 仅当TencentLBSRequestLevel为TencentLBSRequestLevelPoi有返回值,否则为空

◆ province

- (NSString*) province
readwritenonatomiccopy

返回当前位置的省份 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ street

- (NSString*) street
readwritenonatomiccopy

返回当前位置的街道 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ street_no

- (NSString*) street_no
readwritenonatomiccopy

返回当前位置的街道编码 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ town

- (NSString*) town
readwritenonatomiccopy

返回当前位置的乡镇 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空

◆ village

- (NSString*) village
readwritenonatomiccopy

返回当前位置的村 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空


该类的文档由以下文件生成: