Package com.baidu.mapapi.bikenavi.model
Enum Class BikeRoutePlanError
- All Implemented Interfaces:
Serializable,Comparable<BikeRoutePlanError>,Constable
骑行算路失败错误码
-
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 TypeMethodDescriptionstatic BikeRoutePlanErrorReturns the enum constant of this class with the specified name.static BikeRoutePlanError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERVER_UNUSUAL
服务器异常 -
PARSE_FAIL
解析失败 -
NET_ERR
网络错误 -
FORWARD_AK_ERROR
鉴权失败 -
DISTANCE_MORE_THAN
距离过远 -
DISTANCE_TOO_CLOSE
距离过近 -
DISTANCE_LESS_THAN_30M
距离太近 -
DISTANCE_MORE_THAN_300KM
距离太远 -
PARAM_ERROR
参数错误 -
ENGINE_STATUS_ERROR
引擎状态错误 -
NAVI_STATUS_ERROR
导航状态错误
-
-
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
-