public class RouteShareURLOption
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
RouteShareURLOption.RouteShareMode |
限定符和类型 | 字段和说明 |
---|---|
int |
mCityCode |
PlanNode |
mFrom |
RouteShareURLOption.RouteShareMode |
mMode |
int |
mPn |
PlanNode |
mTo |
构造器和说明 |
---|
RouteShareURLOption() |
限定符和类型 | 方法和说明 |
---|---|
RouteShareURLOption |
cityCode(int cityCode)
设置城市ID,公交检索需要传入cityID
|
RouteShareURLOption |
from(PlanNode from)
设置起点
|
RouteShareURLOption.RouteShareMode |
getmMode() |
RouteShareURLOption |
pn(int pn)
设置要分享检索路线中的哪条
|
RouteShareURLOption |
routMode(RouteShareURLOption.RouteShareMode routeShareMode) |
RouteShareURLOption |
to(PlanNode to)
设置终点
|
public PlanNode mFrom
public PlanNode mTo
public RouteShareURLOption.RouteShareMode mMode
public int mPn
public int mCityCode
public RouteShareURLOption.RouteShareMode getmMode()
public RouteShareURLOption from(PlanNode from)
from
- 起点public RouteShareURLOption to(PlanNode to)
to
- 终点public RouteShareURLOption pn(int pn)
pn
- public RouteShareURLOption cityCode(int cityCode)
cityCode
- 城市IDpublic RouteShareURLOption routMode(RouteShareURLOption.RouteShareMode routeShareMode)