12 #import <CoreLocation/CoreLocation.h> 13 #import "BMKLocationReGeocode.h" 19 typedef NS_ENUM(
int, BMKLocationProvider) {
21 BMKLocationProviderIOS = 0,
22 BMKLocationProviderOther
30 @property(nonatomic, copy, readonly) CLLocation * _Nullable
location;
36 @property(nonatomic, assign) BMKLocationProvider
provider;
39 @property(nonatomic, retain) NSString * _Nullable
locationID;
47 @property(readonly, nonatomic, copy, nullable) NSString *floorString;
55 @property(readonly, nonatomic, copy, nullable) NSString *buildingID;
63 @property(readonly, nonatomic, copy, nullable) NSString *buildingName;
72 @property(readonly, nonatomic, copy, nullable) NSDictionary * extraInfo;
80 - (
id _Nonnull)initWithLocation:(CLLocation * _Nullable)loc withRgcData:(
BMKLocationReGeocode * _Nullable)rgc;
91 -(
id _Nonnull)initWithLocation:(CLLocation * _Nullable)location floorString:(NSString * _Nullable)floorString buildingID:(NSString * _Nullable)buildingID
92 buildingName:(NSString * _Nullable)buildingName extraInfo:(NSDictionary * _Nullable)info withRgcData:(
BMKLocationReGeocode * _Nullable)rgc;
BMKLocationReGeocode类。描述跟地址有关的信息.
Definition: BMKLocationReGeocode.h:12
描述百度iOS 定位数据
Definition: BMKLocation.h:27
BMKLocationProvider provider
BMKLocation 位置来源
Definition: BMKLocation.h:36
BMKLocationReGeocode *_Nullable rgcData
BMKLocation 地址数据
Definition: BMKLocation.h:33
NSString *_Nullable locationID
BMKLocation 位置ID
Definition: BMKLocation.h:39
CLLocation *_Nullable location
BMKLocation 位置数据
Definition: BMKLocation.h:30