public class TransitRoutePlanOption
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
TransitRoutePlanOption.TransitPolicy
换成策略枚举
|
限定符和类型 | 字段和说明 |
---|---|
java.lang.String |
mCityName |
PlanNode |
mFrom |
TransitRoutePlanOption.TransitPolicy |
mPolicy |
PlanNode |
mTo |
构造器和说明 |
---|
TransitRoutePlanOption() |
限定符和类型 | 方法和说明 |
---|---|
TransitRoutePlanOption |
city(java.lang.String city)
设置换乘路线规划城市,起终点中的城市将会被忽略
|
TransitRoutePlanOption |
from(PlanNode from)
设置起点
|
TransitRoutePlanOption |
policy(TransitRoutePlanOption.TransitPolicy policy)
设置换乘策略
|
TransitRoutePlanOption |
to(PlanNode to)
设置终点
|
public PlanNode mFrom
public PlanNode mTo
public java.lang.String mCityName
public TransitRoutePlanOption.TransitPolicy mPolicy
public TransitRoutePlanOption from(PlanNode from)
from
- 起点public TransitRoutePlanOption to(PlanNode to)
public TransitRoutePlanOption city(java.lang.String city)
city
- 城市public TransitRoutePlanOption policy(TransitRoutePlanOption.TransitPolicy policy)
policy
- 换乘策略TransitRoutePlanOption.TransitPolicy