跳到主要内容

导航提醒

NavigationAlertInfoModel.alert 中使用 NavigationAlert。只有相应提醒明确要求参数时才设置 parameter。后方来车提醒使用 RearVehicleMergeDirection 作为参数。

提醒参考

导航提醒

随导航信息发送的路线状况与提醒。

16
.clear

清除参数所标识的已有提醒。

AIBudsNavigationAlertClear参数:提醒类型原始值
0x00
.speedLimit

显示当前道路限速。

AIBudsNavigationAlertSpeedLimit参数:速度;单位跟随用户设置
0x01
.violationCamera

提醒前方有违章摄像头。

AIBudsNavigationAlertViolationCamera
0x02
.roadConstruction

提醒前方道路施工。

AIBudsNavigationAlertRoadConstruction
0x03
.averageSpeedZone

显示区间测速提醒。

AIBudsNavigationAlertAverageSpeedZone参数:区间限速;单位跟随用户设置
0x04
.accidentProneArea

提醒前方是事故易发路段。

AIBudsNavigationAlertAccidentProneArea
0x05
.rearVehicleWarning

提醒后方车辆可能并入。

AIBudsNavigationAlertRearVehicleWarning参数:RearVehicleMergeDirection 原始值
0x06
.weakGPSSignal

提示当前导航定位不可靠。

AIBudsNavigationAlertWeakGPSSignal
0x07
.icyRoad

提醒前方路面结冰。

AIBudsNavigationAlertIcyRoad
0x08
.roadClosedOrRestricted

提醒道路封闭或限行。

AIBudsNavigationAlertRoadClosedOrRestricted
0x09
.rerouting

提示正在重新规划路线。

AIBudsNavigationAlertRerouting
0x0A
.keepLeftLane

保持左侧车道行驶。

AIBudsNavigationAlertKeepLeftLane
0x0B
.keepRightLane

保持右侧车道行驶。

AIBudsNavigationAlertKeepRightLane
0x0C
.trafficLightCountdown

显示红绿灯剩余时间。

AIBudsNavigationAlertTrafficLightCountdown参数:秒数;超过 99 时显示 99
0x0D
.keepLeftNLanes

保持在指定数量的最左侧车道内。

AIBudsNavigationAlertKeepLeftNLanes参数:车道数量,从 1 开始
0x0E
.keepRightNLanes

保持在指定数量的最右侧车道内。

AIBudsNavigationAlertKeepRightNLanes参数:车道数量,从 1 开始
0x0F

后方来车方向

用于 rearVehicleWarning 的参数值。

3
.unknown

来车方向不可用。

AIBudsRearVehicleMergeDirectionUnknown
0
.fromRight

后方车辆从右侧驶近。

AIBudsRearVehicleMergeDirectionFromRight
1
.fromLeft

后方车辆从左侧驶近。

AIBudsRearVehicleMergeDirectionFromLeft
2
只有明确要求参数的提醒才应设置 NavigationAlertInfoModel.parameter,并遵循上方列出的原始值与单位规则。

图标仅作为文档中的语义提示,不要求 App 或设备采用相同图形。