public class AMapNaviStep
extends java.lang.Object
| 构造器和说明 |
|---|
AMapNaviStep() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getChargeLength()
获取该路段收费路段距离
Get the distance of toll road segment in this route segment. |
java.util.List<NaviLatLng> |
getCoords()
获取该路段坐标点集
Get the coordinate point set of this route segment |
int |
getEndIndex()
获取该路段终点index
Get the end index of this route segment |
int |
getIconType()
获取当前路段的转向动作类型
Get the turn action type of the current route segment |
int |
getLength()
获取该路段长度
Get the length of this route segment |
java.util.List<AMapNaviLink> |
getLinks()
获取该路段Link集
Get the Link set of this route segment |
int |
getStartIndex()
获取该路段起点index
Get the start index of this route segment |
int |
getTime()
获取该路段耗时
Get the time consumption of this route segment |
int |
getTollCost()
获取该路段的收费金额
Get the toll cost of this route segment. |
int |
getTrafficLightCount()
获取该路段红绿灯总数
Get the total number of traffic lights in this route segment |
int |
getTrafficLightNumber()
获取该路段中红绿灯总数
Get the total number of traffic lights in this route segment |
boolean |
isArriveWayPoint()
该路段是否经过途经点
Whether this route segment passes through a waypoint. |
public int getStartIndex()
public int getEndIndex()
public int getLength()
public int getTime()
public int getChargeLength()
注意:该接口仅驾车模式有效
Note: This interface is only valid in driving mode
public java.util.List<NaviLatLng> getCoords()
public java.util.List<AMapNaviLink> getLinks()
public int getIconType()
public int getTollCost()
注意:该接口仅驾车模式有效
Note: This interface is only valid in driving mode
public int getTrafficLightCount()
public int getTrafficLightNumber()
public boolean isArriveWayPoint()
注意:该接口仅驾车模式有效
Note: This interface is only valid in driving mode