百度定位SDK for iOS v1.2 类参考
BMKLocation.h
1 //
2 // BMKLocation.h
3 // LocationComponent
4 //
5 // Created by baidu on 2017/8/16.
6 // Copyright © 2017年 baidu. All rights reserved.
7 //
8 
9 #ifndef BMKLocation_h
10 #define BMKLocation_h
11 
12 #import <CoreLocation/CoreLocation.h>
13 #import "BMKLocationReGeocode.h"
14 
19 typedef NS_ENUM(int, BMKLocationProvider) {
20 
21  BMKLocationProviderIOS = 0,
22  BMKLocationProviderOther
23 
24 };
25 
27 @interface BMKLocation : NSObject
28 
30 @property(nonatomic, copy, readonly) CLLocation * _Nullable location;
31 
33 @property(nonatomic, copy, readonly) BMKLocationReGeocode * _Nullable rgcData;
34 
36 @property(nonatomic, assign) BMKLocationProvider provider;
37 
39 @property(nonatomic, retain) NSString * _Nullable locationID;
40 
47 - (id _Nonnull)initWithLocation:(CLLocation * _Nullable)loc withRgcData:(BMKLocationReGeocode * _Nullable)rgc;
48 
49 
50 @end
51 
52 #endif /* BMKLocation_h */
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