public static class BikingRouteLine.BikingStep extends RouteStep
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
mWayPoints
Modifier | Constructor and Description |
---|---|
|
BikingStep() |
protected |
BikingStep(Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
int |
getDirection()
该路段起点方向值
|
RouteNode |
getEntrance()
获取路段起点信息
|
java.lang.String |
getEntranceInstructions()
获取路段入口提示信息
|
RouteNode |
getExit()
获取路段终点信息
|
java.lang.String |
getExitInstructions()
获取路段出口指示信息
|
java.lang.String |
getInstructions()
获取路段整体指示信息
|
java.lang.String |
getRestrictionsInfo()
获取限行信息
|
int |
getRestrictionsStatus()
获取限行类型
|
java.lang.String |
getTurnType()
获取行驶转向方向(如"直行", "左前方转弯")
|
java.util.List<LatLng> |
getWayPoints()
返回路段所经过的地理坐标集合
|
void |
setDirection(int direction) |
void |
setEntrance(RouteNode entrance) |
void |
setEntranceInstructions(java.lang.String entranceInstructions) |
void |
setExit(RouteNode exit) |
void |
setExitInstructions(java.lang.String exitInstructions) |
void |
setInstructions(java.lang.String instructions) |
void |
setPathString(java.lang.String pathString) |
void |
setRestrictionsInfo(java.lang.String restrictionsInfo) |
void |
setRestrictionsStatus(int restrictionsStatus) |
void |
setTurnType(java.lang.String turnType) |
void |
writeToParcel(Parcel dest,
int flags) |
getDistance, getDuration, getName, setDistance, setDuration, setName, setWayPoints
public java.util.List<LatLng> getWayPoints()
RouteStep
getWayPoints
in class RouteStep
public int getDirection()
public void setDirection(int direction)
public RouteNode getEntrance()
public void setEntrance(RouteNode entrance)
public RouteNode getExit()
public void setExit(RouteNode exit)
public void setPathString(java.lang.String pathString)
public java.lang.String getEntranceInstructions()
public void setEntranceInstructions(java.lang.String entranceInstructions)
public java.lang.String getExitInstructions()
public void setExitInstructions(java.lang.String exitInstructions)
public java.lang.String getInstructions()
public void setInstructions(java.lang.String instructions)
public java.lang.String getTurnType()
public void setTurnType(java.lang.String turnType)
public java.lang.String getRestrictionsInfo()
public void setRestrictionsInfo(java.lang.String restrictionsInfo)
public int getRestrictionsStatus()
public void setRestrictionsStatus(int restrictionsStatus)
public int describeContents()
describeContents
in class RouteStep
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class RouteStep