com.amap.api.navi.model

## 类 AMapTrafficIncidentInfo

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

-     public class AMapTrafficIncidentInfo
      extends java.lang.Object

  路线交通事件信息类
  Route traffic incident information class

- - ### 构造器概要

    构造器
    构造器和说明
    `AMapTrafficIncidentInfo(RouteIncident incident)`
    `AMapTrafficIncidentInfo(TravelRouteIncident incident)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `float` | `getLatitude()` 获取事件地点的纬度 Get the latitude of the incident location
    `float` | `getLongitude()` 获取事件地点的经度 Get the longitude of the incident location
    `java.lang.String` | `getTitle()` 获取事件标题 Get the incident title
    `int` | `getType()` 获取事件类型, 详情见`NaviIncidentType` Get the incident type, see `NaviIncidentType` for details
    `void` | `setLatitude(float latitude)`
    `void` | `setLongitude(float longitude)`
    `void` | `setTitle(java.lang.String title)`
    `void` | `setType(int type)`

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

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

- - ### 构造器详细资料

    - #### AMapTrafficIncidentInfo

          public AMapTrafficIncidentInfo(RouteIncident incident)

    - #### AMapTrafficIncidentInfo

          public AMapTrafficIncidentInfo(TravelRouteIncident incident)

  - ### 方法详细资料

    - #### getLongitude

          public float getLongitude()

      获取事件地点的经度
      Get the longitude of the incident location
      返回:

    - #### setLongitude

          public void setLongitude(float longitude)

    - #### getLatitude

          public float getLatitude()

      获取事件地点的纬度
      Get the latitude of the incident location
      返回:

    - #### setLatitude

          public void setLatitude(float latitude)

    - #### getTitle

          public java.lang.String getTitle()

      获取事件标题
      Get the incident title
      返回:

    - #### setTitle

          public void setTitle(java.lang.String title)

    - #### getType

          public int getType()

      获取事件类型, 详情见`NaviIncidentType`
      Get the incident type, see `NaviIncidentType` for details
      返回:

    - #### setType

          public void setType(int type)