com.amap.api.navi.model

## 类 AimLessModeCongestionInfo

- java.lang.Object
- - com.amap.api.navi.model.AimLessModeCongestionInfo

-     public class AimLessModeCongestionInfo
      extends java.lang.Object

  巡航拥堵信息类
  Cruising Traffic Congestion Information

- - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `AMapCongestionLink[]` | `getAmapCongestionLinks()` 该条道路的拥堵信息数组 仅当拥堵长度大于500米且拥堵时间大于5分钟时，服务才下发拥堵路段形状点 The congestion information array of this road Service will only issue the shape points of the congested section when the congestion length is greater than 500 meters and the congestion time is more than 5 minutes
    `int` | `getCongestionStatus()` 拥堵区域的整体拥堵状态 Overall Congestion Status in Congested Area
    `double` | `getEventLat()` 已过时。 从7.0.0版本废弃 Deprecated from version 7.0.0
    `double` | `getEventLon()` 已过时。 从7.0.0版本废弃 Deprecated from version 7.0.0
    `int` | `getEventType()` 已过时。 从7.0.0版本废弃 Deprecated from version 7.0.0
    `int` | `getLength()`
    `java.lang.String` | `getRoadName()`
    `int` | `getTime()`

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 方法详细资料

    - #### getAmapCongestionLinks

          public AMapCongestionLink[] getAmapCongestionLinks()

      该条道路的拥堵信息数组 仅当拥堵长度大于500米且拥堵时间大于5分钟时，服务才下发拥堵路段形状点
      The congestion information array of this road Service will only issue the shape points of the congested section when the congestion length is greater than 500 meters and the congestion time is more than 5 minutes
      返回:
        拥堵导航段信息
        congestion navigation segment information

    - #### getEventType

          public int getEventType()

      已过时。 从7.0.0版本废弃
      Deprecated from version 7.0.0
      返回:
        事件类型
        Event Types
        一般交通事故:101
        General Traffic Accident:101
        严重交通事故:102
        Severe Traffic Accident:102
        道路施工:201
        Road Construction:201
        交通管制:301
        Traffic Control:301
        道路关闭:302
        Road Closure:302
        出口匝道关闭:303
        Exit Ramp Closure:303
        入口匝道关闭:304
        Entrance Ramp Closure:304
        路面积水:501
        Road Waterlogging:501
        路面有障碍物:505
        Road Obstruction:505
        严重交通事故&道路关闭:102302
        Severe Traffic Accident & Road Closure:102302
        道路施工&道路关闭:201302
        Road Construction & Road Closure:201302
        大雾&道路关闭:404302
        Fog & Road Closure:404302
        大雨&道路关闭:406302
        Heavy Rain & Road Closure:406302
        大雪&道路关闭:409302
        Heavy Snow & Road Closure:409302

    - #### getRoadName

          public java.lang.String getRoadName()

      返回:
        拥堵区域道路名称
        Road Name in Congested Area

    - #### getLength

          public int getLength()

      返回:
        拥堵区域路径长度，单位：米
        Path Length in Congested Area, unit: meters

    - #### getCongestionStatus

          public int getCongestionStatus()

      拥堵区域的整体拥堵状态
      Overall Congestion Status in Congested Area
      返回:
        返回的拥堵状态, 与`AMapTrafficStatus.getStatus()`一致
        Returned congestion status, consistent with `AMapTrafficStatus.getStatus()`

    - #### getEventLon

          public double getEventLon()

      已过时。 从7.0.0版本废弃
      Deprecated from version 7.0.0
      返回:
        事件经度（水平方向）
        Event Longitude (horizontal direction)

    - #### getEventLat

          public double getEventLat()

      已过时。 从7.0.0版本废弃
      Deprecated from version 7.0.0
      返回:
        事件纬度（竖直方向）
        Event Latitude (vertical direction)

    - #### getTime

          public int getTime()

      返回:
        预计通过拥堵区域时间，单位：秒
        Estimated Time to Pass Through Congested Area, unit: seconds