## 接口的使用
com.amap.api.navi.ParallelRoadListener

- 使用ParallelRoadListener的程序包
  程序包 | 说明
  --- | ---
  com.amap.api.navi | 导航基础包，提供路径规划、导航等基础功能。

- - ### com.amap.api.navi中ParallelRoadListener的使用

    参数类型为ParallelRoadListener的com.amap.api.navi中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | AMapNavi.`addParallelRoadListener(ParallelRoadListener listener)` 添加平行路切换监听，包括主辅路切换和高架上下切换 注意：该接口仅驾车模式有效 Add parallel road switch listener, including main auxiliary road switching and overpass up-down switching Note: This interface is only valid for driving mode.
    `void` | AMapNavi.`removeParallelRoadListener(ParallelRoadListener listener)` 移除平行路切换监听，包括主辅路切换和高架上下切换 注意：该接口仅驾车模式有效 Remove parallel road switch listener, including main auxiliary road switching and overpass up-down switching Note: This interface is only valid for driving mode.