com.amap.api.navi.model

## 类 AMapNaviGuide

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

-     public class AMapNaviGuide
      extends java.lang.Object

  导航段信息类
  Navigation segment information class

- - ### 构造器概要

    构造器
    构造器和说明
    `AMapNaviGuide()`
    `AMapNaviGuide(RouteGuideGroup guideGroup)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `NaviLatLng` | `getCoord()` 聚合段入口点的坐标 Coordinates of the aggregated segment entrance point
    `int` | `getIconType()` 获取聚合段转向类型 Get aggregated segment turn type
    `int` | `getLength()` 获取聚合段长度 Get aggregated segment length
    `java.lang.String` | `getName()` 获取聚合段名称 Get aggregated segment name
    `int` | `getTime()` 获取聚合段行驶耗时 Get aggregated segment travel time
    `int` | `getToll()` 获取聚合段的收费金额 Get toll amount of the aggregated segment
    `void` | `setCoord(NaviLatLng latlng)` 设置聚合段入口点的坐标 Set coordinates of the aggregated segment entrance point
    `void` | `setIconType(int iconType)` 设置聚合段转向类型 Set aggregated segment turn type
    `void` | `setLength(int length)` 设置聚合段长度 Set aggregated segment length
    `void` | `setName(java.lang.String name)` 设置聚合段名称 Set aggregated segment name
    `void` | `setTime(int time)` 设置聚合段行驶耗时 Set aggregated segment travel time

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

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

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

    - #### AMapNaviGuide

          public AMapNaviGuide()

    - #### AMapNaviGuide

          public AMapNaviGuide(RouteGuideGroup guideGroup)

  - ### 方法详细资料

    - #### getCoord

          public NaviLatLng getCoord()

      聚合段入口点的坐标
      Coordinates of the aggregated segment entrance point
      返回:

    - #### setCoord

          public void setCoord(NaviLatLng latlng)

      设置聚合段入口点的坐标
      Set coordinates of the aggregated segment entrance point
      参数:
        `latlng` -

    - #### getLength

          public int getLength()

      获取聚合段长度
      Get aggregated segment length
      返回:
        单位:米
        Unit: meters

    - #### setLength

          public void setLength(int length)

      设置聚合段长度
      Set aggregated segment length
      参数:
        `length` - 单位:米
        Unit: meters

    - #### getIconType

          public int getIconType()

      获取聚合段转向类型
      Get aggregated segment turn type
      返回:

    - #### setIconType

          public void setIconType(int iconType)

      设置聚合段转向类型
      Set aggregated segment turn type
      参数:
        `iconType` -

    - #### getName

          public java.lang.String getName()

      获取聚合段名称
      Get aggregated segment name
      返回:

    - #### setName

          public void setName(java.lang.String name)

      设置聚合段名称
      Set aggregated segment name
      参数:
        `name` -

    - #### getTime

          public int getTime()

      获取聚合段行驶耗时
      Get aggregated segment travel time
      返回:
        单位:秒
        Unit: seconds

    - #### setTime

          public void setTime(int time)

      设置聚合段行驶耗时
      Set aggregated segment travel time
      参数:
        `time` - 单位:秒
        Unit: seconds

    - #### getToll

          public int getToll()

      获取聚合段的收费金额
      Get toll amount of the aggregated segment