行进过程中,诱导消息的改变

interface IGuideInfoListener {
    onSimpleGuideInfoUpdate: ((naviSimpleMapInfo) => void);
    onRemainInfoUpdate: ((record) => void);
    onSpeedUpdate: ((travelData) => void);
    onMatchRouteInfo: ((record) => void);
    onTrafficLightUpdate: ((json) => void);
    onOutNaviInfo: ((record) => void);
}

Properties

onSimpleGuideInfoUpdate: ((naviSimpleMapInfo) => void)

更新诱导消息,比如“直行”

Type declaration

    • (naviSimpleMapInfo): void
    • Parameters

      • naviSimpleMapInfo: BWNaviSimpleMapInfo

      Returns void

onRemainInfoUpdate: ((record) => void)

目的地剩余距离时间更新

Type declaration

    • (record): void
    • Parameters

      Returns void

onSpeedUpdate: ((travelData) => void)

瞬时速度、行进距离更新

Type declaration

    • (travelData): void
    • Parameters

      • travelData: BWNaviTravelData

      Returns void

onMatchRouteInfo: ((record) => void)

定位匹配路线信息

Type declaration

    • (record): void
    • Parameters

      Returns void

onTrafficLightUpdate: ((json) => void)

红绿灯发生改变

Type declaration

    • (json): void
    • Parameters

      • json: string

      Returns void

onOutNaviInfo: ((record) => void)

对外吐路线的图层信息 例如vivo手表的图层的信息

Type declaration

    • (record): void
    • Parameters

      Returns void