Enum Class WalkRoutePlanError

java.lang.Object
java.lang.Enum<WalkRoutePlanError>
com.baidu.mapapi.walknavi.model.WalkRoutePlanError
All Implemented Interfaces:
Serializable, Comparable<WalkRoutePlanError>, Constable

public enum WalkRoutePlanError extends Enum<WalkRoutePlanError>
步行算路失败错误码
  • Enum Constant Details

    • SERVER_UNUSUAL

      public static final WalkRoutePlanError SERVER_UNUSUAL
      服务器异常
    • PARSE_FAIL

      public static final WalkRoutePlanError PARSE_FAIL
      解析失败
    • NET_ERR

      public static final WalkRoutePlanError NET_ERR
      网络错误
    • FORWARD_AK_ERROR

      public static final WalkRoutePlanError FORWARD_AK_ERROR
      鉴权失败
    • INVAILD_PERMISSION

      public static final WalkRoutePlanError INVAILD_PERMISSION
      权限未开通
    • DISTANCE_LESS_THAN_30M

      public static final WalkRoutePlanError DISTANCE_LESS_THAN_30M
      距离太近
    • DISTANCE_MORE_THAN_50KM

      public static final WalkRoutePlanError DISTANCE_MORE_THAN_50KM
      距离太远
    • IS_NOT_SUPPORT_INDOOR_NAVI

      public static final WalkRoutePlanError IS_NOT_SUPPORT_INDOOR_NAVI
      不支持该室内导航
    • IS_NOT_SUPPORT_AR_NAVI

      public static final WalkRoutePlanError IS_NOT_SUPPORT_AR_NAVI
      Android API级别低于21时不支持AR步行导航
    • PARAM_ERROR

      public static final WalkRoutePlanError PARAM_ERROR
      参数错误
    • ENGINE_STATUS_ERROR

      public static final WalkRoutePlanError ENGINE_STATUS_ERROR
      引擎状态错误
    • DISTANCE_TOO_CLOSE

      public static final WalkRoutePlanError DISTANCE_TOO_CLOSE
      距离过近
    • DISTANCE_MORE_THAN

      public static final WalkRoutePlanError DISTANCE_MORE_THAN
      距离过远
  • Method Details

    • values

      public static WalkRoutePlanError[] 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

      public static WalkRoutePlanError valueOf(String name)
      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 name
      NullPointerException - if the argument is null