public class RouteShareURLOption
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RouteShareURLOption.RouteShareMode |
Modifier and Type | Field and Description |
---|---|
int |
mCityCode |
PlanNode |
mFrom |
RouteShareURLOption.RouteShareMode |
mMode |
int |
mPn |
PlanNode |
mTo |
Constructor and Description |
---|
RouteShareURLOption() |
Modifier and Type | Method and Description |
---|---|
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)