Map Doc  1.0
iOS-引擎SDK-开放平台
MBGpsLocation.h
浏览该文件的文档.
1 //
2 // MBGPSManager.h
3 // iNaviCore
4 //
5 // Created by fanyl on 13-8-13.
6 // Copyright (c) 2013年 Mapbar. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <CoreLocation/CoreLocation.h>
11 
12 @class MBGpsInfo;
13 @protocol MBGpsLocationDelegate;
14 
20 @protocol MBGpsLocationDelegate <NSObject>
21  @optional
27 - (void)didGpsInfoUpdated:(MBGpsInfo *)info;
28 @end
29 
33 @interface MBGpsLocation : NSObject
39 @property (nonatomic, weak) id<MBGpsLocationDelegate> delegate;
40 
46 @property (nonatomic, assign) BOOL allowsBackgroundLocationUpdates;
47 
51 - (void)startUpdatingLocation;
52 
56 - (void)stopUpdatingLocation;
57 @end
Definition: MBGpsInfo.h:14
void stopUpdatingLocation()
BOOL allowsBackgroundLocationUpdates
Definition: MBGpsLocation.h:46
Definition: MBGpsLocation.h:33
id< MBGpsLocationDelegate > delegate
Definition: MBGpsLocation.h:39
void startUpdatingLocation()