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

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

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

    返回AMapCarInfo的com.amap.api.navi中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `AMapCarInfo` | AmapNaviParams.`getCarInfo()` 获取设置的货车参数对象 Get the set truck parameter object

    参数类型为AMapCarInfo的com.amap.api.navi中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | AMapNavi.`setCarInfo(AMapCarInfo carInfo)` 设置车辆信息(包括车型，车牌，车高，车重等)，路径规划时会躲避车辆限行区域和路线 Set vehicle information (including vehicle type, license plate, height, weight, etc.), and during path planning, it will avoid areas and routes where the vehicle is restricted.
    `AmapNaviParams` | AmapNaviParams.`setCarInfo(AMapCarInfo carInfo)` 设置车辆信息，进行尾号限行与货车导航 Set vehicle information for tail number restriction and truck navigation