public static class WalkingRouteLine.WalkingStep extends RouteStep
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
mWayPoints
Modifier | Constructor and Description |
---|---|
|
WalkingStep() |
protected |
WalkingStep(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.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 |
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 int describeContents()
describeContents
in class RouteStep
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class RouteStep