public static enum RouteShareURLOption.RouteShareMode extends java.lang.Enum<RouteShareURLOption.RouteShareMode>
枚举常量和说明 |
---|
BUS_ROUTE_SHARE_MODE
公交短串分享
|
CAR_ROUTE_SHARE_MODE
驾车短串分享
|
CYCLE_ROUTE_SHARE_MODE
骑行短串分享
|
FOOT_ROUTE_SHARE_MODE
步行短串分享
|
限定符和类型 | 方法和说明 |
---|---|
int |
getRouteShareMode()
获取该枚举对象的 int 值
|
static RouteShareURLOption.RouteShareMode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static RouteShareURLOption.RouteShareMode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RouteShareURLOption.RouteShareMode CAR_ROUTE_SHARE_MODE
public static final RouteShareURLOption.RouteShareMode FOOT_ROUTE_SHARE_MODE
public static final RouteShareURLOption.RouteShareMode CYCLE_ROUTE_SHARE_MODE
public static final RouteShareURLOption.RouteShareMode BUS_ROUTE_SHARE_MODE
public static RouteShareURLOption.RouteShareMode[] values()
for (RouteShareURLOption.RouteShareMode c : RouteShareURLOption.RouteShareMode.values()) System.out.println(c);
public static RouteShareURLOption.RouteShareMode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getRouteShareMode()