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

#import <MBHighwayGuide.h>

类 MBHighwayGuide 继承关系图:

构造函数

(void) - cleanUp
 
(void) - setEnable:
 
(BOOL) - getEnable
 
(BOOL) - shouldDisplay
 
(void) - setMode:
 
(MBHighwayGuideMode- getMode
 
(NSArray *) - getItems
 
(MBHighwayGuideItem *) - getNextServiceArea
 

类方法

(instancetype) + sharedMBHighwayGuide
 

详细描述

高速行程模块提供了车辆在高速公路上行驶时用作显示的行程信息,如:出口(IC)、高速连接线(JC)、服务区(SA)、停车区(PA)、收费站(TG)。

函数文档

◆ cleanUp()

- (void) cleanUp

高速引导模块销毁

自从
5.0.x

◆ getEnable()

- (BOOL) getEnable

判断高速行程模块是否已启用

返回
TRUE 表示启用
自从
5.0.x

◆ getItems()

- (NSArray*) getItems

高速引导信息

返回
MBHighwayGuideItem 数组
自从
5.0.x

◆ getMode()

- (MBHighwayGuideMode) getMode

获取模式

返回
高速引导模式
自从
5.0.x

◆ getNextServiceArea()

- (MBHighwayGuideItem*) getNextServiceArea

获取下一个服务区或停车区对应的高速行程信息

返回
MBHighwayGuideItem
自从
5.0.x

◆ setEnable:()

- (void) setEnable: (BOOL)  enable

设置高速行程模块是否启用

参数
enableTRUE 表示启用
自从
5.0.x

◆ setMode:()

- (void) setMode: (MBHighwayGuideMode mode

设置模式

参数
mode高速引导模式
自从
5.0.x

◆ sharedMBHighwayGuide()

+ (instancetype) sharedMBHighwayGuide

获取高速引导模块单例

自从
5.0.x

◆ shouldDisplay()

- (BOOL) shouldDisplay

是否需要显示高速行程信息。

返回
是否需要显示高速行程信息
自从
5.0.x

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