Package com.baidu.mapapi.search.share
Enum Class RouteShareURLOption.RouteShareMode
java.lang.Object
java.lang.Enum<RouteShareURLOption.RouteShareMode>
com.baidu.mapapi.search.share.RouteShareURLOption.RouteShareMode
- All Implemented Interfaces:
Serializable,Comparable<RouteShareURLOption.RouteShareMode>,Constable
- Enclosing class:
- RouteShareURLOption
public static enum RouteShareURLOption.RouteShareMode
extends Enum<RouteShareURLOption.RouteShareMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription公交短串分享驾车短串分享骑行短串分享步行短串分享 -
Method Summary
Modifier and TypeMethodDescriptionint获取该枚举对象的 int 值Returns the enum constant of this class with the specified name.static RouteShareURLOption.RouteShareMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CAR_ROUTE_SHARE_MODE
驾车短串分享 -
FOOT_ROUTE_SHARE_MODE
步行短串分享 -
CYCLE_ROUTE_SHARE_MODE
骑行短串分享 -
BUS_ROUTE_SHARE_MODE
公交短串分享
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-