public static enum RouteShareURLOption.RouteShareMode extends java.lang.Enum<RouteShareURLOption.RouteShareMode>
Enum Constant and Description |
---|
BUS_ROUTE_SHARE_MODE
公交短串分享
|
CAR_ROUTE_SHARE_MODE
驾车短串分享
|
CYCLE_ROUTE_SHARE_MODE
骑行短串分享
|
FOOT_ROUTE_SHARE_MODE
步行短串分享
|
Modifier and Type | Method and Description |
---|---|
int |
getRouteShareMode()
获取该枚举对象的 int 值
|
static RouteShareURLOption.RouteShareMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RouteShareURLOption.RouteShareMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getRouteShareMode()