| 程序包 | 说明 |
|---|---|
| com.amap.api.services.route |
| 限定符和类型 | 方法和说明 |
|---|---|
Cost |
DrivePathV2.getCost()
获取方案所需时间及费用成本
Get the time and cost required for the plan |
Cost |
DriveStepV2.getCostDetail()
获取路线消耗信息
Get route consumption information |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DrivePathV2.setCost(Cost cost)
设置方案所需时间及费用成本
Set the time and cost required for the plan |
void |
DriveStepV2.setCostDetail(Cost cost)
设置路线消耗信息
Set route consumption information |