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

#import <MBGpsSimulator.h>

类 MBGpsSimulator 继承关系图:

构造函数

(void) - setRecordGPS:
 
(void) - setUseSimGPS:
 
(NSInteger) - getCurMaxSimGPSIndex
 
(NSInteger) - getCurSimGPSIndex
 
(void) - setCurSimGPSIndex:
 
(float) - getCurSimGPSSpeed
 
(void) - setCurSimGPSSpeed:
 

类方法

(MBGpsSimulator *) + defaultGpsSimulator
 

详细描述

Gps模拟

函数文档

◆ defaultGpsSimulator()

+ (MBGpsSimulator *) defaultGpsSimulator

得到单例

◆ getCurMaxSimGPSIndex()

- (NSInteger) getCurMaxSimGPSIndex

得到当前Gps最大点索引

返回
Gps最大点的索引

◆ getCurSimGPSIndex()

- (NSInteger) getCurSimGPSIndex

得到当前Gps索引

返回
当前Gps索引

◆ getCurSimGPSSpeed()

- (float) getCurSimGPSSpeed

得到Gps模拟速度

返回
速度

◆ setCurSimGPSIndex:()

- (void) setCurSimGPSIndex: (NSInteger)  index

设置当前Gps模拟索引

参数
index索引

◆ setCurSimGPSSpeed:()

- (void) setCurSimGPSSpeed: (float)  speed

设置Gps模拟速度

参数
speed速度

◆ setRecordGPS:()

- (void) setRecordGPS: (BOOL)  recordGPS

记录GPS

参数
recordGPSYES 表示记录

◆ setUseSimGPS:()

- (void) setUseSimGPS: (BOOL)  useSimGPS

使用模拟

参数
useSimGPSYES 表示使用

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