OpenSDK8.1.1
Loading...
Searching...
No Matches
<BNUIManagerProtocol> Protocol Reference

UI管理接口 More...

#include <BNUIManagerProtocol.h>

Instance Methods

(id) - navigationController
(void) - showPage:delegate:extParams:
(void) - exitPage:animated:extraInfo:
(void) - exitNaviPageExtraInfo:
(void) - continueExitPage:animated:extraInfo:
(BOOL) - isInNaviPage
(void) - shutdownNoticeMessage:
(void) - shutdonwInterveneMessage:

Properties

BOOL customShowUIEnable
 自定义是否展示导航UI。

Detailed Description

UI管理接口

Method Documentation

◆ continueExitPage:animated:extraInfo:

- (void) continueExitPage: (BNavi_ExitPage_Type) exitType
animated: (BOOL) animated
extraInfo: (NSDictionary *) extraInfo 
optionalrequired

继续退出导航。 如果shouldOverrideExitingPage返回NO,这个方法等同于exitPage 如果shouldOverrideExitingPage返回YES,自定义方法里面不能直接用exitPage,需要用continueExitPage

Parameters
exitType<#exitType description#>
animated<#animated description#>
extraInfo<#extraInfo description#>

◆ exitNaviPageExtraInfo:

- (void) exitNaviPageExtraInfo: (NSDictionary *) extraInfo
optionalrequired

退出专业导航 ⚠️在轻导航中通过 [BNaviService_LightNavi switchToRealNav:self withNaviType:self.naviType ]进入专业导航。若需退出专业导航,开发者应主动调用此接口。

Parameters
extraInfo额外参数

◆ exitPage:animated:extraInfo:

- (void) exitPage: (BNavi_ExitPage_Type) exitType
animated: (BOOL) animated
extraInfo: (NSDictionary *) extraInfo 
optionalrequired

退出导航页面 注意,如果shouldOverrideExitingPage返回YES,调用exitPage方法不会退出导航,而是调用用户自定义的overrideExitingPage

Parameters
exitTypeBNavi_ExitPage_Type类型
animated是否需要动画
extraInfo额外参数

◆ isInNaviPage

- (BOOL) isInNaviPage
optional

是否在导航过程页面

◆ navigationController

- (id) navigationController
required

获取当前NavigationController

◆ showPage:delegate:extParams:

- (void) showPage: (BNaviUIType) pageType
delegate: (id< BNNaviUIManagerDelegate >) delegate
extParams: (NSDictionary *) extParams 
optionalrequired

展示导航页面 默认开始真实导航,要开始模拟导航,需要在额外参数传入{BNaviUI_NormalNavi_TypeKey: (BN_NaviTypeSimulator)}

Parameters
pageTypeBNaviUIType类型
delegateBNNaviUIManagerDelegate代理
extParams额外参数 额外参数BNaviUI_NormalNavi_TypeKey:1.真实导航:BN_NaviTypeReal,2.模拟导航:BN_NaviTypeSimulator,3.货车导航:BN_NaviTypeTruck,4.货车模拟导航:BN_NaviTypeTruckSimulator BNaviUI_Navi_HideDeclarationKey :(YES) 可隐藏首次进入导航的免责声明。默认为(NO) 首次会展示免责声明。

◆ shutdonwInterveneMessage:

- (void) shutdonwInterveneMessage: (BOOL) shutdown
optionalrequired

关闭/打开干预消息提示框

◆ shutdownNoticeMessage:

- (void) shutdownNoticeMessage: (BOOL) shutdown
optionalrequired

关闭/打开导航中消息提示框


The documentation for this protocol was generated from the following file: