百度定位SDK for iOS v1.7 类参考
构造函数 | 属性 | 所有成员列表
BMKLocation类 参考

描述百度iOS 定位数据 更多...

#import <BMKLocation.h>

类 BMKLocation 继承关系图:

构造函数

(id _Nonnull) - initWithLocation:withRgcData:
 初始化BMKLocation实例 更多...
 
(id _Nonnull) - initWithLocation:floorString:buildingID:buildingName:extraInfo:withRgcData:
 构造BMKLocation 更多...
 

属性

CLLocation *_Nullable location
 BMKLocation 位置数据
 
BMKLocationReGeocode *_Nullable rgcData
 BMKLocation 地址数据
 
BMKLocationProvider provider
 BMKLocation 位置来源
 
NSString *_Nullable locationID
 BMKLocation 位置ID
 
NSString * floorString
 
NSString * buildingID
 
NSString * buildingName
 
NSDictionary * extraInfo
 

详细描述

描述百度iOS 定位数据

函数文档

◆ initWithLocation:floorString:buildingID:buildingName:extraInfo:withRgcData:()

- (id _Nonnull) initWithLocation: (CLLocation *_Nullable)  location
floorString: (NSString *_Nullable)  floorString
buildingID: (NSString *_Nullable)  buildingID
buildingName: (NSString *_Nullable)  buildingName
extraInfo: (NSDictionary *_Nullable)  info
withRgcData: (BMKLocationReGeocode *_Nullable)  rgc 

构造BMKLocation

参数
locationCLLocation
floorString楼层字符串
buildingID建筑物ID
buildingName建筑物名称
info位置附加信息
返回
BMKLocation id

◆ initWithLocation:withRgcData:()

- (id _Nonnull) initWithLocation: (CLLocation *_Nullable)  loc
withRgcData: (BMKLocationReGeocode *_Nullable)  rgc 

初始化BMKLocation实例

参数
locCLLocation对象
rgcBMKLocationReGeocode对象
返回
BMKLocation id

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