# 程序包的使用
com.amap.api.navi

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

- com.amap.api.navi使用的com.amap.api.navi中的类
  类和说明
  AimlessModeListener 巡航模式事件监听 Cruise mode event monitoring
  AMapCalculateRouteListener 算路监听
  AMapHudViewListener HUD界面的监听 Listener for HUD interface.
  AMapNavi 导航管理类 Navigation management class
  AMapNaviAppLangOptions
  AMapNaviDriveListener 驾车导航回调 Driving navigation callback
  AMapNaviIndependentRouteListener 独立算路结果回调类 Independent route calculation result callback class
  AMapNaviListener 导航事件监听 Navigation event listener 注：回调在主线程触发 Note: Callbacks are triggered on the main thread
  AMapNaviMarkerOptions 导航组件导航页自定义地图标注配置类 Custom map annotation configuration class for navigation component page
  AMapNaviNetWorkProxy
  AmapNaviParams 导航组件参数类 Navigation component parameter class
  AMapNaviResourceProxy
  AMapNaviRestrictAreaInfoListener 独立算路结果回调类 Callback class for independent route calculation results
  AmapNaviTheme 导航组件枚举类 Navigation component enumeration class
  AMapNaviTravelListener 骑步行导航回调 Cycling or walking navigation callback
  AmapNaviType
  AMapNaviViewListener 导航视图事件监听 Navigation view event listener.
  AMapNaviViewOptions 导航视图参数类 Navigation view options class.
  AMapNaviViewOptions.VoiceAssistSettings 导航过程中语音辅助功能设置 Voice assistance settings during navigation 注意： Note： 所有设置仅对使用内置语音时才会生效，开启与关闭内置语音请参考：`AMapNavi.setUseInnerVoice(boolean, boolean)` All settings only take effect when using the built-in voice.
  AMapOptimalRouteCallback 导航中更优路线信息回调
  AmapPageType
  AMapRouteOptimalParams MPID还原路线链路,行中更优路线重算路及排序策略参数
  AMapRouteOptimalParams.Builder
  AMapRouteSortStrategy 导航中二次算路排序策略
  AudioAuthTaskCallback 特色语音播报鉴权回掉通知
  AudioOutputMode 播报模式枚举 用户通过已提供接口来设置 setAppLang:。
  INaviInfoCallback
  NaviSetting 导航参数控制类，可通过`AMapNavi.getNaviSetting()`获取实例 Navigation parameter control class, can be obtained through `AMapNavi.getNaviSetting()`
  ParallelRoadListener 平行路切换监听 Parallel road switching listener
  SimpleNaviListener
  TrajectoryRestorationTaskCallback 轨迹还原任务回调接口 用于通知轨迹还原任务的执行结果
  TTSInitializeListener 内置语音初始化状态监听器
  TTSPlayListener 内置语音播报状态监听器 Built-in voice broadcast status listener