## 类的使用
com.amap.api.navi.model.AMapCalcRouteResult

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

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

    参数类型为AMapCalcRouteResult的com.amap.api.navi中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | AMapHudView.`onCalculateRouteFailure(AMapCalcRouteResult routeResult)`
    `void` | AMapNaviListener.`onCalculateRouteFailure(AMapCalcRouteResult routeResult)` 路线规划失败回调，包括算路、导航中偏航、用户改变算路策略、行程点等触发的重算，具体算路结果可以通过`AMapCalcRouteResult`获取 Route planning failure callback, including recalculations triggered by route calculation, yaw during navigation, user changing route strategy, waypoints, etc.
    `void` | SimpleNaviListener.`onCalculateRouteFailure(AMapCalcRouteResult routeResult)`
    `void` | AMapHudView.`onCalculateRouteSuccess(AMapCalcRouteResult routeResult)`
    `void` | AMapNaviListener.`onCalculateRouteSuccess(AMapCalcRouteResult routeResult)` 路线规划成功回调，包括算路、导航中偏航、用户改变算路策略、行程点等触发的重算，具体算路结果可以通过`AMapCalcRouteResult`获取 Route planning success callback, including recalculations triggered by route calculation, yaw during navigation, user changing route strategy, waypoints, etc.
    `void` | SimpleNaviListener.`onCalculateRouteSuccess(AMapCalcRouteResult routeResult)`
    `void` | AMapNaviIndependentRouteListener.`onIndependentCalculateFail(AMapCalcRouteResult routeResult)` 独立算路失败回调 Independent route calculation failure callback
    `void` | AMapOptimalRouteCallback.`onOptimalRouteCalcFail(AMapCalcRouteResult calcRouteResult)` 更优路线计算失败