public class DrivingRouteLine extends RouteLine<DrivingRouteLine.DrivingStep>
| Modifier and Type | Class and Description |
|---|---|
static class |
DrivingRouteLine.DrivingStep
表示一个驾车路段
|
RouteLine.TYPE| Modifier and Type | Field and Description |
|---|---|
static <any> |
CREATOR |
| Modifier | Constructor and Description |
|---|---|
|
DrivingRouteLine() |
protected |
DrivingRouteLine(Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getCongestionDistance()
获取拥堵米数
|
int |
getLightNum()
获取路线途中的红绿灯个数
|
int |
getToll()
获取路线收费数 单位:元
|
java.util.List<RouteNode> |
getWayPoints()
返回路线途经点,路线途经点设置见
DrivingRoutePlanOption |
boolean |
isSupportTraffic()
Deprecated.
|
void |
setCongestionDistance(int congestionDistance)
设置拥堵米数
|
void |
setLightNum(int lightNum)
设置红绿灯个数
|
void |
setSupportTraffic(boolean isSupportTrffice) |
void |
setToll(int toll)
设置路线收费数
|
void |
setWayPoints(java.util.List<RouteNode> wayPoints)
设置路线途经点
|
void |
writeToParcel(Parcel dest,
int flags) |
getAllStep, getDistance, getDuration, getLegLinked, getStarting, getTerminal, getTitle, getType, setDistance, setDuration, setLegLinked, setStarting, setSteps, setTerminal, setTitle, setTypepublic DrivingRouteLine()
protected DrivingRouteLine(Parcel in)
@Deprecated public boolean isSupportTraffic()
public void setSupportTraffic(boolean isSupportTrffice)
public java.util.List<RouteNode> getWayPoints()
DrivingRoutePlanOptionpublic void setWayPoints(java.util.List<RouteNode> wayPoints)
wayPoints - 路线途经点public int getCongestionDistance()
public void setCongestionDistance(int congestionDistance)
congestionDistance - 拥堵米数public int getLightNum()
public void setLightNum(int lightNum)
lightNum - 红绿灯个数public int getToll()
public void setToll(int toll)
toll - 路线收费数public int describeContents()
describeContents in class RouteLine<DrivingRouteLine.DrivingStep>public void writeToParcel(Parcel dest,
int flags)
writeToParcel in class RouteLine<DrivingRouteLine.DrivingStep>