com.amap.api.navi

## 类 AMapNaviParkLimitControl

- java.lang.Object
- - com.amap.api.navi.SimpleNaviListener
  - - com.amap.api.navi.AMapNaviParkLimitControl

- 所有已实现的接口:
    AMapNaviDriveListener, AMapNaviListener, AMapNaviTravelListener

      public class AMapNaviParkLimitControl
      extends SimpleNaviListener

  园区导航限制信息检测相关逻辑处理
  从以下版本开始:
    10.0.520

- - ### 构造器概要

    构造器
    构造器和说明
    `AMapNaviParkLimitControl(AMapNaviCore naviCore)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `destroy()`
    `void` | `onArriveDestination()` 到达目的地后回调函数 Callback function after reaching the destination.
    `void` | `onEndEmulatorNavi()` 模拟导航停止后回调函数 Callback function after simulated navigation stops.
    `void` | `onLocationChange(AMapNaviLocation location)` 当位置信息有更新时的回调函数 Callback function when position information is updated.
    `void` | `onUpdateNaviPath()`
    `void` | `onUpdateNaviSpeedLimitSection(int speed)` 路段限速事件更新 Road segment speed limit event update
    `void` | `setCustomNaviParkLimitInfo(AMapNaviParkLimitInfo limitInfo)` 设置自定义园区信息，包括：自定义限速、超速文案等。
    `void` | `startNavi()`
    `void` | `stopNavi()`
    `void` | `updateCheckStatus(boolean needCheck)`

    - ### 从类继承的方法 com.amap.api.navi.SimpleNaviListener

      `hideCross, hideLaneInfo, hideModeCross, notifyParallelRoad, onArrivedTravelWayPoint, onArrivedWayPoint, onCalculateRouteFailure, onCalculateRouteFailure, onCalculateRouteSuccess, onCalculateRouteSuccess, onGetNavigationText, onGetNavigationText, onGpsOpenStatus, onGpsSignalWeak, onInitNaviFailure, onInitNaviSuccess, onInnerNaviInfoUpdate, onInnerNaviInfoUpdate, onManeuverInfoUpdate, onNaviInfoUpdate, onNaviRouteNotify, onNextManeuverInfoUpdate, onPlayRing, onReCalculateRouteForTrafficJam, onReCalculateRouteForYaw, onSelectRouteId, onServiceAreaUpdate, onStartNavi, onStopNavi, onSuggestChangePath, onTrafficStatusUpdate, onUpdateDriveComfort, onUpdateDriveEvent, onUpdateGpsSignalStrength, onUpdateTmcStatus, OnUpdateTrafficFacility, OnUpdateTrafficFacility, showCross, showLaneInfo, showLaneInfo, showModeCross, updateAimlessModeCongestionInfo, updateAimlessModeStatistics, updateBackupPath, updateCameraInfo, updateIntervalCameraInfo`

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

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

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

    - #### AMapNaviParkLimitControl

          public AMapNaviParkLimitControl(AMapNaviCore naviCore)

  - ### 方法详细资料

    - #### updateCheckStatus

          public void updateCheckStatus(boolean needCheck)

    - #### startNavi

          public void startNavi()

    - #### stopNavi

          public void stopNavi()

    - #### destroy

          public void destroy()

    - #### setCustomNaviParkLimitInfo

          public void setCustomNaviParkLimitInfo(AMapNaviParkLimitInfo limitInfo)

      设置自定义园区信息，包括：自定义限速、超速文案等。具体信息请参考: `AMapNaviParkLimitInfo`
      参数:
        `limitInfo` - 自定义限制信息
      从以下版本开始:
        10.0.520
      另请参阅:
        `AMapNaviParkLimitInfo`

    - #### onLocationChange

          public void onLocationChange(AMapNaviLocation location)

      从接口复制的说明: `AMapNaviListener`
      当位置信息有更新时的回调函数
      Callback function when position information is updated.
      指定者:
        `onLocationChange` 在接口中 `AMapNaviListener`
      覆盖:
        `onLocationChange` 在类中 `SimpleNaviListener`
      参数:
        `location` - 当前位置的定位信息。
        Current position location information.

    - #### onUpdateNaviSpeedLimitSection

          public void onUpdateNaviSpeedLimitSection(int speed)

      从类复制的说明: `SimpleNaviListener`
      路段限速事件更新
      Road segment speed limit event update
      指定者:
        `onUpdateNaviSpeedLimitSection` 在接口中 `AMapNaviDriveListener`
      覆盖:
        `onUpdateNaviSpeedLimitSection` 在类中 `SimpleNaviListener`
      参数:
        `speed` - 限速值，限速值为0则隐藏路段限速信息
        Speed limit value. If the speed limit value is 0, the road segment speed limit information will be hidden.

    - #### onUpdateNaviPath

          public void onUpdateNaviPath()

      覆盖:
        `onUpdateNaviPath` 在类中 `SimpleNaviListener`

    - #### onArriveDestination

          public void onArriveDestination()

      从接口复制的说明: `AMapNaviListener`
      到达目的地后回调函数
      Callback function after reaching the destination.
      指定者:
        `onArriveDestination` 在接口中 `AMapNaviListener`
      覆盖:
        `onArriveDestination` 在类中 `SimpleNaviListener`

    - #### onEndEmulatorNavi

          public void onEndEmulatorNavi()

      从接口复制的说明: `AMapNaviListener`
      模拟导航停止后回调函数
      Callback function after simulated navigation stops.
      指定者:
        `onEndEmulatorNavi` 在接口中 `AMapNaviListener`
      覆盖:
        `onEndEmulatorNavi` 在类中 `SimpleNaviListener`