public static class TransitRouteLine.TransitStep extends RouteStep
限定符和类型 | 类和说明 |
---|---|
static class |
TransitRouteLine.TransitStep.TransitRouteStepType
路段类型枚举
|
限定符和类型 | 字段和说明 |
---|---|
static <any> |
CREATOR |
mWayPoints
限定符 | 构造器和说明 |
---|---|
|
TransitStep() |
protected |
TransitStep(Parcel in) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
RouteNode |
getEntrance()
路段入口信息
|
RouteNode |
getExit()
路段出口信息
|
java.lang.String |
getInstructions()
获取该路段换乘说明
|
TransitRouteLine.TransitStep.TransitRouteStepType |
getStepType()
获取路段类型
|
VehicleInfo |
getVehicleInfo()
当路段为公交路段或地铁路段时,可以获取交通工具信息
|
java.util.List<LatLng> |
getWayPoints()
返回路段所经过的地理坐标集合
|
void |
setEntrace(RouteNode entrance) |
void |
setExit(RouteNode exit) |
void |
setInstructions(java.lang.String instructions) |
void |
setPathString(java.lang.String pathString) |
void |
setStepType(TransitRouteLine.TransitStep.TransitRouteStepType stepType) |
void |
setVehicleInfo(VehicleInfo vehicleInfo) |
void |
writeToParcel(Parcel dest,
int flags) |
getDistance, getDuration, getName, setDistance, setDuration, setName, setWayPoints
public java.lang.String getInstructions()
public void setVehicleInfo(VehicleInfo vehicleInfo)
public void setInstructions(java.lang.String instructions)
public TransitRouteLine.TransitStep.TransitRouteStepType getStepType()
TransitRouteLine.TransitStep.TransitRouteStepType
public void setStepType(TransitRouteLine.TransitStep.TransitRouteStepType stepType)
public void setPathString(java.lang.String pathString)
public java.util.List<LatLng> getWayPoints()
RouteStep
getWayPoints
在类中 RouteStep
public RouteNode getEntrance()
public void setEntrace(RouteNode entrance)
public RouteNode getExit()
public void setExit(RouteNode exit)
public VehicleInfo getVehicleInfo()
public int describeContents()
describeContents
在类中 RouteStep
public void writeToParcel(Parcel dest, int flags)
writeToParcel
在类中 RouteStep