Map Doc  1.0
iOS-引擎SDK-开放平台
MBGpsLocation类 参考

#import <MBGpsLocation.h>

类 MBGpsLocation 继承关系图:

构造函数

(void) - startUpdatingLocation
 
(void) - stopUpdatingLocation
 

属性

id< MBGpsLocationDelegate > delegate
 
BOOL allowsBackgroundLocationUpdates
 

详细描述

Gps 定位,与 MBGpsTracker 功能相同

函数文档

◆ startUpdatingLocation()

- (void) startUpdatingLocation

打开GPS信息

◆ stopUpdatingLocation()

- (void) stopUpdatingLocation

关闭GPS信息

属性说明

◆ allowsBackgroundLocationUpdates

- (BOOL) allowsBackgroundLocationUpdates
readwritenonatomicassign

是否允许后台定位, iOS 9 之后使用

自从
5.0.x

◆ delegate

- (id<MBGpsLocationDelegate>) delegate
readwritenonatomicweak

GPS代理

自从
4.9.x

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