TencentLBSLocation Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying NSSecureCoding |
| Declared in | TencentLBSLocation.h |
location
返回当前位置的CLLocation信息
@property (nonatomic, strong) CLLocation *locationDiscussion
返回当前位置的CLLocation信息
Declared In
TencentLBSLocation.h
areaStat
返回当前位置的行政区划, 0-表示中国大陆、港、澳, 1-表示其他
@property (nonatomic, assign) NSInteger areaStatDiscussion
返回当前位置的行政区划, 0-表示中国大陆、港、澳, 1-表示其他
Declared In
TencentLBSLocation.h
fakeCode
返回当前位置的作弊码
@property (nonatomic, assign) TencentLBSLocationFake fakeCodeDiscussion
返回当前位置的作弊码
Declared In
TencentLBSLocation.h
buildingId
返回室内定位楼宇Id
@property (nonatomic, copy, nullable) NSString *buildingIdDiscussion
返回室内定位楼宇Id
Declared In
TencentLBSLocation.h
buildingFloor
返回室内定位楼层
@property (nonatomic, copy, nullable) NSString *buildingFloorDiscussion
返回室内定位楼层
Declared In
TencentLBSLocation.h
indoorLocationType
返回室内定位类型,0表示普通定位结果,1表示蓝牙室内定位结果
@property (nonatomic, assign) NSInteger indoorLocationTypeDiscussion
返回室内定位类型,0表示普通定位结果,1表示蓝牙室内定位结果
Declared In
TencentLBSLocation.h
drProvider
@property (nonatomic, assign) TencentLBSDRProvider drProviderDeclared In
TencentLBSLocation.h
locationProvider
普适定位结果来源
@property (nonatomic, assign) TencentLBSLocationProvider locationProviderDiscussion
普适定位结果来源
Declared In
TencentLBSLocation.h
name
返回当前位置的名称, 仅当TencentLBSRequestLevel为TencentLBSRequestLevelName或TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *nameDiscussion
返回当前位置的名称, 仅当TencentLBSRequestLevel为TencentLBSRequestLevelName或TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
address
返回当前位置的地址 仅当TencentLBSRequestLevel为TencentLBSRequestLevelName或TencentLBSRequestLevelAdminName有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *addressDiscussion
返回当前位置的地址 仅当TencentLBSRequestLevel为TencentLBSRequestLevelName或TencentLBSRequestLevelAdminName有返回值,否则为空
Declared In
TencentLBSLocation.h
nationCode
返回国家编码,例如中国为156 注意:该接口涉及到WebService API,请参考https://lbs.qq.com/service/webService/webServiceGuide/webServiceOverview中的配额限制说明, 并将申请的有效key通过TencentLBSLocationManager的- (void)setDataWithValue: forKey:方法设置,其中key为固定值@“ReGeoCodingnKey",例如[tencentLocationManager setDataWithValue:@"您申请的key(务必正确)” forKey:@“ReGeoCodingnKey”];,否则将返回默认值0
@property (nonatomic, assign) NSInteger nationCodeDiscussion
返回国家编码,例如中国为156 注意:该接口涉及到WebService API,请参考https://lbs.qq.com/service/webService/webServiceGuide/webServiceOverview中的配额限制说明, 并将申请的有效key通过TencentLBSLocationManager的- (void)setDataWithValue: forKey:方法设置,其中key为固定值@“ReGeoCodingnKey",例如[tencentLocationManager setDataWithValue:@"您申请的key(务必正确)” forKey:@“ReGeoCodingnKey”];,否则将返回默认值0
Declared In
TencentLBSLocation.h
code
返回当前位置的城市编码 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *codeDiscussion
返回当前位置的城市编码 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
nation
返回当前位置的国家 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *nationDiscussion
返回当前位置的国家 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
province
返回当前位置的省份 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *provinceDiscussion
返回当前位置的省份 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
cityPhoneCode
返回当前位置的城市固话编码. 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *cityPhoneCodeDiscussion
返回当前位置的城市固话编码. 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
city
返回当前位置的城市 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *cityDiscussion
返回当前位置的城市 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
district
返回当前位置的区县 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *districtDiscussion
返回当前位置的区县 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
town
返回当前位置的乡镇 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *townDiscussion
返回当前位置的乡镇 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
village
返回当前位置的村 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *villageDiscussion
返回当前位置的村 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
street
返回当前位置的街道 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *streetDiscussion
返回当前位置的街道 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
street_no
返回当前位置的街道编码 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, copy, nullable) NSString *street_noDiscussion
返回当前位置的街道编码 仅当TencentLBSRequestLevel为TencentLBSRequestLevelAdminName或TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h
poiList
返回当前位置周围的POI 仅当TencentLBSRequestLevel为TencentLBSRequestLevelPoi有返回值,否则为空
@property (nonatomic, strong, nullable) NSArray<TencentLBSPoi*> *poiListDiscussion
返回当前位置周围的POI 仅当TencentLBSRequestLevel为TencentLBSRequestLevelPoi有返回值,否则为空
Declared In
TencentLBSLocation.h