public static class TransitRouteLine.TransitStep extends RouteStep
| Modifier and Type | Class and Description |
|---|---|
static class |
TransitRouteLine.TransitStep.TransitRouteStepType
路段类型枚举
|
| Modifier and Type | Field and Description |
|---|---|
static |
CREATOR |
mWayPoints| Modifier | Constructor and Description |
|---|---|
|
TransitRouteLine.TransitStep() |
protected |
TransitRouteLine.TransitStep(Parcel in) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
RouteNode |
getEntrance()
路段入口信息
|
RouteNode |
getExit()
路段出口信息
|
java.lang.String |
getInstructions()
获取该路段换乘说明
|
TransitRouteLine.TransitStep.TransitRouteStepType |
getStepType()
获取路段类型
|
VehicleInfo |
getVehicleInfo()
当路段为公交路段或地铁路段时,可以获取交通工具信息
|
java.util.List<LatLng> |
getWayPoints()
返回路段所经过的地理坐标集合
|
void |
writeToParcel(Parcel dest,
int flags) |
getDistance, getDuration, setDistance, setDuration, setWayPointspublic TransitRouteLine.TransitStep()
protected TransitRouteLine.TransitStep(Parcel in)
public java.lang.String getInstructions()
public TransitRouteLine.TransitStep.TransitRouteStepType getStepType()
TransitRouteLine.TransitStep.TransitRouteStepTypepublic java.util.List<LatLng> getWayPoints()
RouteStepgetWayPoints in class RouteSteppublic RouteNode getEntrance()
public RouteNode getExit()
public VehicleInfo getVehicleInfo()
public int describeContents()
describeContents in class RouteSteppublic void writeToParcel(Parcel dest,
int flags)
writeToParcel in class RouteStep