Package com.baidu.navisdk.adapter
Interface IBNOuterSettingManager.IBNProfessionalNaviSetting
-
- Enclosing interface:
- IBNOuterSettingManager
public static interface IBNOuterSettingManager.IBNProfessionalNaviSetting
专业导航设置
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
enableBottomBarOpen(boolean enable)
Deprecated.旧版导航ui控制void
enableMoreSettings(boolean enable)
Deprecated.void
enableReceiveVoiceOnCalling(boolean enable)
设置项中是否显示 通话时收听语音播报 单次生效void
enableRouteSearch(boolean enable)
Deprecated.旧版导航ui控制void
enableRouteSort(boolean enable)
Deprecated.int
getDayNightMode(int vehicle)
获取当前设置的日夜模式类型int
getFullViewMode(int vehicle)
获取专业导航右下角图面显示类型int
getGuideViewMode(int vehicle)
获取当前专业导航视角类型int
getVoiceMode(int vehicle)
获取播报模式boolean
isAnalogQuitButtonVisible()
获取模拟导航退出按钮是否显示boolean
isAnalogSpeedButtonVisible()
获取模拟导航速度按钮是否显示boolean
isAnalogSwitchButtonVisible()
获取模拟导航开关按钮是否显示boolean
isAutoQuitWhenArrived()
获取到达目的地时,导航是否自动退出boolean
isAutoScale(int vehicle)
获取当前是否设置专业导航比例尺智能缩放boolean
isAvoidanceNotificationVisible()
获取导航中限行消息是否显示boolean
isAvoidanceReminderVisible()
获取限行面板是否显示boolean
isBottomBarOpen()
Deprecated.旧版导航ui控制boolean
isHighwayEnable()
获取高速面板是否显示boolean
isLaneLineEnable()
获取车道线是否显示boolean
isMeasurementEnable()
获取区间测速是否显示boolean
isQuitNaviEnable()
获取点击退出导航按钮是否生效boolean
isRealRoadConditionOpen(int vehicle)
获取实时路况是否开启boolean
isRefreshButtonVisible()
获取路线刷新按钮是否显示boolean
isRoadConditionButtonVisible()
Deprecated.旧版导航uiboolean
isRoadNameEnable()
获取当前路名是否显示boolean
isSettingButtonVisible()
获取导航设置按钮是否显示boolean
isShowCarLogoToEndRedLine(int vehicle)
获取当前是否设置车标到终点红色连线boolean
isShowMainAuxiliaryOrBridge()
获取是否显示主辅路和高架桥按钮boolean
isShowRemindDialog()
获取导航中主动提醒卡片是否展示boolean
isShowRoadEnlargeView(int vehicle)
获取当前是否显示路口放大图boolean
isUseOldSetting()
Deprecated.boolean
isVoiceButtonVisible()
获取导航播报按钮是否显示boolean
isZoomButtonVisible()
获取地图缩放按钮是否显示void
setAnalogQuitButtonVisible(boolean enable)
设置模拟导航退出按钮是否显示void
setAnalogSpeedButtonVisible(boolean enable)
设置模拟导航速度按钮是否显示void
setAnalogSwitchButtonVisible(boolean enable)
设置模拟导航开关按钮是否显示void
setAutoScale(boolean isAutoScale, int vehicle)
设置专业导航比例尺是否智能缩放void
setAvoidanceNotificationVisible(boolean enable)
设置导航中限行消息是否显示void
setAvoidanceReminderVisible(boolean enable)
设置限行面板是否显示void
setBottomBarType(int type)
退出按钮位置调整void
setBottomMoreBtnEnable(boolean enable)
Deprecated.void
setCarIconOffsetForNavi(int xOffset, int yOffset)
设置导航底图车标偏移,仅针对专业导航Car3D竖屏模式有效,,底图中心为(0, 0)原点void
setDayNightMode(int mode, int vehicle)
设置专业导航日夜模式void
setFullViewMarginSize(int left, int top, int right, int bottom)
设置专业导航全览时路线距离屏幕边距void
setFullViewMode(int mode, int vehicle)
设置专业导航右下角图面显示类型void
setGuideViewMode(int mode, int vehicle)
设置专业导航视角void
setHighwayEnable(boolean enable)
设置高速面板是否显示void
setIsAutoQuitWhenArrived(boolean auto)
设置到达目的地时,导航是否自动退出void
setLaneLineEnable(boolean enable)
设置车道线是否显示void
setMeasurementEnable(boolean enable)
设置区间测速是否显示void
setQuitNaviEnable(boolean enable)
设置点击退出导航按钮是否生效void
setRealRoadCondition(boolean open)
设置实时路况是否开启void
setRefreshButtonVisible(boolean enable)
设置路线刷新按钮是否显示void
setRoadConditionButtonVisible(boolean enable)
Deprecated.旧版导航uivoid
setRoadConditionUgcEnable(boolean showAvoid, boolean isAllowClick)
路况条上ugc事件的自定义处理,需要进导航前设置void
setRoadNameEnable(boolean enable)
设置当前路名是否显示void
setSettingButtonVisible(boolean enable)
设置导航设置按钮是否显示void
setSettingPageItemVisible(java.util.Map<IBNOuterSettingParams.BNavSettingItem,java.lang.Boolean> items)
设置页item的显隐藏void
setShowCarLogoToEndRedLine(boolean showCarLogoToEndRedLine, int vehicle)
设置专业导航是否显示车标到终点红色连线void
setShowMainAuxiliaryOrBridge(boolean show)
设置是否显示主辅路和高架桥按钮void
setShowRemindDialog(boolean enable)
设置导航中主动提醒卡片是否展示void
setShowRoadEnlargeView(boolean showRoadEnlargeView, int vehicle)
设置专业导航是否显示路口放大图void
setStartByFullView(boolean fullView)
设置进导航时是否全览,默认为不全览 该全览只是5s全览,随后会进入导航态void
setUgcButtonEnable(boolean enable)
设置ugc按钮是否显示void
setVoiceButtonVisible(boolean enable)
设置导航播报按钮是否显示void
setVoiceMode(int voiceMode, int vehicle)
设置播报模式void
setYawSoundEnable(boolean enable)
偏航提示音开关void
setZoomButtonVisible(boolean enable)
Deprecated.旧版导航uivoid
useOldSetting(boolean b)
Deprecated.
-
-
-
Method Detail
-
setGuideViewMode
void setGuideViewMode(int mode, int vehicle)
设置专业导航视角- Parameters:
mode
- 视角类型: IBNOuterSettingParams.NaviPerspectiveMode.CAR_3D 跟随车头模式 IBNOuterSettingParams.NaviPerspectiveMode.NORTH_2D 正北朝上模式vehicle
- 车辆类型: IBNRoutePlanManager.Vehicle
-
getGuideViewMode
int getGuideViewMode(int vehicle)
获取当前专业导航视角类型- Parameters:
vehicle
- 车辆类型:IBNRoutePlanManager.Vehicle
-
setDayNightMode
void setDayNightMode(int mode, int vehicle)
设置专业导航日夜模式- Parameters:
mode
- 日夜模式: IBNOuterSettingParams.DayNightMode.DAY_NIGHT_MODE_AUTO 自动切换白天黑夜模式 IBNOuterSettingParams.DayNightMode.DAY_NIGHT_MODE_DAY 日间模式 IBNOuterSettingParams.DayNightMode.DAY_NIGHT_MODE_NIGHT 夜间模式vehicle
- 车辆类型: IBNRoutePlanManager.Vehicle
-
getDayNightMode
int getDayNightMode(int vehicle)
获取当前设置的日夜模式类型- Parameters:
vehicle
- 车辆类型: IBNRoutePlanManager.Vehicle
-
setFullViewMode
void setFullViewMode(int mode, int vehicle)
设置专业导航右下角图面显示类型- Parameters:
mode
- 显示类型: IBNOuterSettingParams.PreViewMode.MapMini 全览小窗 IBNOuterSettingParams.PreViewMode.RoadBar 路况条 IBNOuterSettingParams.PreViewMode.ArcRoadBar 弧形路况条 IBNOuterSettingParams.PreViewMode.NoAll 不显示vehicle
- 车辆类型: IBNRoutePlanManager.Vehicle
-
getFullViewMode
int getFullViewMode(int vehicle)
获取专业导航右下角图面显示类型- Parameters:
vehicle
- 车辆类型: IBNRoutePlanManager.Vehicle- Returns:
-
setAutoScale
void setAutoScale(boolean isAutoScale, int vehicle)
设置专业导航比例尺是否智能缩放- Parameters:
vehicle
- 车辆类型: IBNRoutePlanManager.VehicleisAutoScale
- 为true则设置智能缩放,false不设置
-
isAutoScale
boolean isAutoScale(int vehicle)
获取当前是否设置专业导航比例尺智能缩放- Parameters:
vehicle
- 车辆类型: IBNRoutePlanManager.Vehicle
-
setShowCarLogoToEndRedLine
void setShowCarLogoToEndRedLine(boolean showCarLogoToEndRedLine, int vehicle)
设置专业导航是否显示车标到终点红色连线- Parameters:
showCarLogoToEndRedLine
- 为true则设置连线,false不设置vehicle
- 车辆类型: IBNRoutePlanManager.Vehicle
-
isShowCarLogoToEndRedLine
boolean isShowCarLogoToEndRedLine(int vehicle)
获取当前是否设置车标到终点红色连线- Parameters:
vehicle
- 车辆类型: IBNRoutePlanManager.Vehicle
-
setShowRoadEnlargeView
void setShowRoadEnlargeView(boolean showRoadEnlargeView, int vehicle)
设置专业导航是否显示路口放大图- Parameters:
showRoadEnlargeView
- 为true则设置显示放大图,false不设置vehicle
- 车辆类型:IBNRoutePlanManager.Vehicle
-
isShowRoadEnlargeView
boolean isShowRoadEnlargeView(int vehicle)
获取当前是否显示路口放大图- Parameters:
vehicle
- 车辆类型:IBNRoutePlanManager.Vehicle
-
setIsAutoQuitWhenArrived
void setIsAutoQuitWhenArrived(boolean auto)
设置到达目的地时,导航是否自动退出
-
isAutoQuitWhenArrived
boolean isAutoQuitWhenArrived()
获取到达目的地时,导航是否自动退出
-
isRealRoadConditionOpen
boolean isRealRoadConditionOpen(int vehicle)
获取实时路况是否开启- Parameters:
vehicle
- 车辆类型:IBNRoutePlanManager.Vehicle
-
setRealRoadCondition
void setRealRoadCondition(boolean open)
设置实时路况是否开启
-
setVoiceMode
void setVoiceMode(int voiceMode, int vehicle)
设置播报模式- Parameters:
voiceMode
-vehicle
- 车辆类型:IBNRoutePlanManager.Vehicle
-
getVoiceMode
int getVoiceMode(int vehicle)
获取播报模式- Parameters:
vehicle
- 车辆类型:IBNRoutePlanManager.Vehicle
-
setShowMainAuxiliaryOrBridge
void setShowMainAuxiliaryOrBridge(boolean show)
设置是否显示主辅路和高架桥按钮- Parameters:
show
-
-
isShowMainAuxiliaryOrBridge
boolean isShowMainAuxiliaryOrBridge()
获取是否显示主辅路和高架桥按钮
-
setCarIconOffsetForNavi
void setCarIconOffsetForNavi(int xOffset, int yOffset)
设置导航底图车标偏移,仅针对专业导航Car3D竖屏模式有效,,底图中心为(0, 0)原点- Parameters:
xOffset
- 导航底图车标x偏移量,> 0时往右偏移,单位:像素yOffset
- 导航底图车标y偏移量,< 0时往下偏移,单位:像素
-
setFullViewMarginSize
void setFullViewMarginSize(int left, int top, int right, int bottom)
设置专业导航全览时路线距离屏幕边距- Parameters:
left
- 左边距,路线全览左侧边距,单位pxtop
- 上边距,路线全览上侧边距,单位pxright
- 右边距,路线全览右侧边距,单位pxbottom
- 下边距,路线全览下侧边距,单位px
-
setQuitNaviEnable
void setQuitNaviEnable(boolean enable)
设置点击退出导航按钮是否生效
-
isQuitNaviEnable
boolean isQuitNaviEnable()
获取点击退出导航按钮是否生效
-
enableRouteSort
@Deprecated void enableRouteSort(boolean enable)
Deprecated.路线偏好功能入口是否开放 注意:进专业导航之前设置生效,且是单次生效 旧版导航
-
enableRouteSearch
@Deprecated void enableRouteSearch(boolean enable)
Deprecated.旧版导航ui控制沿途检索功能入口是否开放 注意:进专业导航之前设置生效,且是单次生效
-
enableBottomBarOpen
@Deprecated void enableBottomBarOpen(boolean enable)
Deprecated.旧版导航ui控制底部bar是否支持展开- Parameters:
enable
-
-
enableReceiveVoiceOnCalling
void enableReceiveVoiceOnCalling(boolean enable)
设置项中是否显示 通话时收听语音播报 单次生效- Parameters:
enable
-
-
setBottomMoreBtnEnable
@Deprecated void setBottomMoreBtnEnable(boolean enable)
Deprecated.设置导航中底部右边更多按钮是否显示- Parameters:
enable
-
-
isBottomBarOpen
@Deprecated boolean isBottomBarOpen()
Deprecated.旧版导航ui控制获取底部bar是否支持展开
-
enableMoreSettings
@Deprecated void enableMoreSettings(boolean enable)
Deprecated.更多设置功能入口是否开放 注意:进专业导航之前设置生效,且是单次生效
-
setStartByFullView
void setStartByFullView(boolean fullView)
设置进导航时是否全览,默认为不全览 该全览只是5s全览,随后会进入导航态- Parameters:
fullView
- true 全览
-
setYawSoundEnable
void setYawSoundEnable(boolean enable)
偏航提示音开关
-
setUgcButtonEnable
void setUgcButtonEnable(boolean enable)
设置ugc按钮是否显示
-
setRoadNameEnable
void setRoadNameEnable(boolean enable)
设置当前路名是否显示
-
isRoadNameEnable
boolean isRoadNameEnable()
获取当前路名是否显示
-
setLaneLineEnable
void setLaneLineEnable(boolean enable)
设置车道线是否显示
-
isLaneLineEnable
boolean isLaneLineEnable()
获取车道线是否显示
-
setMeasurementEnable
void setMeasurementEnable(boolean enable)
设置区间测速是否显示
-
isMeasurementEnable
boolean isMeasurementEnable()
获取区间测速是否显示
-
setHighwayEnable
void setHighwayEnable(boolean enable)
设置高速面板是否显示
-
isHighwayEnable
boolean isHighwayEnable()
获取高速面板是否显示
-
setRoadConditionButtonVisible
@Deprecated void setRoadConditionButtonVisible(boolean enable)
Deprecated.旧版导航ui设置路况按钮是否显示
-
isRoadConditionButtonVisible
@Deprecated boolean isRoadConditionButtonVisible()
Deprecated.旧版导航ui获取路况按钮是否显示
-
setVoiceButtonVisible
void setVoiceButtonVisible(boolean enable)
设置导航播报按钮是否显示
-
isVoiceButtonVisible
boolean isVoiceButtonVisible()
获取导航播报按钮是否显示
-
setRefreshButtonVisible
void setRefreshButtonVisible(boolean enable)
设置路线刷新按钮是否显示
-
isRefreshButtonVisible
boolean isRefreshButtonVisible()
获取路线刷新按钮是否显示
-
setZoomButtonVisible
@Deprecated void setZoomButtonVisible(boolean enable)
Deprecated.旧版导航ui设置地图缩放按钮是否显示
-
isZoomButtonVisible
boolean isZoomButtonVisible()
获取地图缩放按钮是否显示
-
setAnalogQuitButtonVisible
void setAnalogQuitButtonVisible(boolean enable)
设置模拟导航退出按钮是否显示
-
isAnalogQuitButtonVisible
boolean isAnalogQuitButtonVisible()
获取模拟导航退出按钮是否显示
-
setAnalogSpeedButtonVisible
void setAnalogSpeedButtonVisible(boolean enable)
设置模拟导航速度按钮是否显示
-
isAnalogSpeedButtonVisible
boolean isAnalogSpeedButtonVisible()
获取模拟导航速度按钮是否显示
-
setAnalogSwitchButtonVisible
void setAnalogSwitchButtonVisible(boolean enable)
设置模拟导航开关按钮是否显示
-
isAnalogSwitchButtonVisible
boolean isAnalogSwitchButtonVisible()
获取模拟导航开关按钮是否显示
-
setAvoidanceReminderVisible
void setAvoidanceReminderVisible(boolean enable)
设置限行面板是否显示
-
isAvoidanceReminderVisible
boolean isAvoidanceReminderVisible()
获取限行面板是否显示
-
setAvoidanceNotificationVisible
void setAvoidanceNotificationVisible(boolean enable)
设置导航中限行消息是否显示
-
isAvoidanceNotificationVisible
boolean isAvoidanceNotificationVisible()
获取导航中限行消息是否显示
-
useOldSetting
@Deprecated void useOldSetting(boolean b)
Deprecated.设置专业导航使用旧版设置- Parameters:
b
-
-
isUseOldSetting
@Deprecated boolean isUseOldSetting()
Deprecated.获取是否使用旧版设置- Returns:
-
setSettingButtonVisible
void setSettingButtonVisible(boolean enable)
设置导航设置按钮是否显示
-
isSettingButtonVisible
boolean isSettingButtonVisible()
获取导航设置按钮是否显示
-
setShowRemindDialog
void setShowRemindDialog(boolean enable)
设置导航中主动提醒卡片是否展示
-
isShowRemindDialog
boolean isShowRemindDialog()
获取导航中主动提醒卡片是否展示
-
setRoadConditionUgcEnable
void setRoadConditionUgcEnable(boolean showAvoid, boolean isAllowClick)
路况条上ugc事件的自定义处理,需要进导航前设置- Parameters:
showAvoid
- 路况条上是否展示避开按钮,默认trueisAllowClick
- 路况条上的icon是否支持点击,默认true
-
setSettingPageItemVisible
void setSettingPageItemVisible(java.util.Map<IBNOuterSettingParams.BNavSettingItem,java.lang.Boolean> items)
设置页item的显隐藏- Parameters:
items
- 默认为true,全部展示
-
setBottomBarType
void setBottomBarType(int type)
退出按钮位置调整- Parameters:
type
- 0 - 默认 1 - 退出和更多按钮互换位置
-
-