Enum Class SearchResult.ERRORNO

java.lang.Object
java.lang.Enum<SearchResult.ERRORNO>
com.baidu.mapapi.search.core.SearchResult.ERRORNO
All Implemented Interfaces:
Serializable, Comparable<SearchResult.ERRORNO>, Constable
Enclosing class:
SearchResult

public static enum SearchResult.ERRORNO extends Enum<SearchResult.ERRORNO>
检索结果状态定义
  • Enum Constant Details

    • NO_ERROR

      public static final SearchResult.ERRORNO NO_ERROR
      检索结果正常返回
    • RESULT_NOT_FOUND

      public static final SearchResult.ERRORNO RESULT_NOT_FOUND
      没有找到检索结果
    • AMBIGUOUS_KEYWORD

      public static final SearchResult.ERRORNO AMBIGUOUS_KEYWORD
      检索词有岐义
    • AMBIGUOUS_ROURE_ADDR

      public static final SearchResult.ERRORNO AMBIGUOUS_ROURE_ADDR
      检索地址有岐义
    • NOT_SUPPORT_BUS

      public static final SearchResult.ERRORNO NOT_SUPPORT_BUS
      该城市不支持公交搜索
    • NOT_SUPPORT_BUS_2CITY

      public static final SearchResult.ERRORNO NOT_SUPPORT_BUS_2CITY
      不支持跨城市公交
    • ST_EN_TOO_NEAR

      public static final SearchResult.ERRORNO ST_EN_TOO_NEAR
      起终点太近
    • KEY_ERROR

      public static final SearchResult.ERRORNO KEY_ERROR
      key有误
    • PERMISSION_UNFINISHED

      public static final SearchResult.ERRORNO PERMISSION_UNFINISHED
      授权未完成
    • NETWORK_TIME_OUT

      public static final SearchResult.ERRORNO NETWORK_TIME_OUT
      网络超时
    • NETWORK_ERROR

      public static final SearchResult.ERRORNO NETWORK_ERROR
      网络错误
    • POIINDOOR_BID_ERROR

      public static final SearchResult.ERRORNO POIINDOOR_BID_ERROR
      poi室内检索bid错误
    • POIINDOOR_FLOOR_ERROR

      public static final SearchResult.ERRORNO POIINDOOR_FLOOR_ERROR
      poi室内检索floor错误
    • POIINDOOR_SERVER_ERROR

      public static final SearchResult.ERRORNO POIINDOOR_SERVER_ERROR
      poi室内检索服务错误
    • INDOOR_ROUTE_NO_IN_BUILDING

      public static final SearchResult.ERRORNO INDOOR_ROUTE_NO_IN_BUILDING
      室内路线规划起点、终点不在支持室内路径规划的位置, 包括起终点在室内,但是该室内图不支持路线规划,对于该中场景, 可以通过判断点是否在室内区分。
    • INDOOR_ROUTE_NO_IN_SAME_BUILDING

      public static final SearchResult.ERRORNO INDOOR_ROUTE_NO_IN_SAME_BUILDING
      室内路线规划起终点不在同一个室内
    • MASS_TRANSIT_SERVER_ERROR

      public static final SearchResult.ERRORNO MASS_TRANSIT_SERVER_ERROR
      跨城公共交通服务器内部错误
    • MASS_TRANSIT_OPTION_ERROR

      public static final SearchResult.ERRORNO MASS_TRANSIT_OPTION_ERROR
      跨城公共交通错误码:参数无效
    • MASS_TRANSIT_NO_POI_ERROR

      public static final SearchResult.ERRORNO MASS_TRANSIT_NO_POI_ERROR
      跨城公共交通没有匹配的POI
    • SEARCH_SERVER_INTERNAL_ERROR

      public static final SearchResult.ERRORNO SEARCH_SERVER_INTERNAL_ERROR
      服务器内部错误
    • SEARCH_OPTION_ERROR

      public static final SearchResult.ERRORNO SEARCH_OPTION_ERROR
      参数错误
    • REQUEST_ERROR

      public static final SearchResult.ERRORNO REQUEST_ERROR
      请求错误
    • NO_ADVANCED_PERMISSION

      public static final SearchResult.ERRORNO NO_ADVANCED_PERMISSION
      没有高级权限
    • INVALID_DISTRICT_ID

      public static final SearchResult.ERRORNO INVALID_DISTRICT_ID
      区域编码无效
    • NO_DATA_FOR_LATLNG

      public static final SearchResult.ERRORNO NO_DATA_FOR_LATLNG
      经纬度所在地区无数据覆盖
    • PARAMER_ERROR

      public static final SearchResult.ERRORNO PARAMER_ERROR
      请求参数错误
    • INTEGRAL_ROUTE_NOT_SUPPORT_MULTIPLE_INDOOR

      public static final SearchResult.ERRORNO INTEGRAL_ROUTE_NOT_SUPPORT_MULTIPLE_INDOOR
      一体化路线不支持多个室内路线
    • BIKE_ROUTE_DISTANCE_LIMIT

      public static final SearchResult.ERRORNO BIKE_ROUTE_DISTANCE_LIMIT
      距离超出限制,无可用骑行路线
  • Method Details

    • values

      public static SearchResult.ERRORNO[] 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 SearchResult.ERRORNO 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