高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
Instance Methods | List of all members
<AMapNaviEleBikeManagerDelegate> Protocol Reference

`#include <AMapNaviEleBikeManager.h>`

Inheritance diagram for <AMapNaviEleBikeManagerDelegate>:

## Instance Methods
(void) | - rideManager:error:
| 发生错误时,会调用代理的此方法 When an error occurs, this method of the delegate will be called
(void) | - rideManagerOnCalculateRouteSuccess:
| 骑行路径规划成功后的回调函数 Callback function after successful cycling route planning
(void) | - rideManagerOnCalculateRouteSuccess:calculateRouteResult:
| 骑行路径规划成功后的回调函数。since 10.1.111 Callback function after successful cycling route planning
(void) | - rideManager:onCalculateRouteFailure:
| 骑行路径规划失败后的回调函数. 从6.1.0版本起,算路失败后导航SDK只对外通知算路失败,SDK内部不再执行停止导航的相关逻辑.因此,当算路失败后,不会收到 driveManager:updateNaviMode: 回调; AMapNaviRideManager.naviMode 不会切换到 AMapNaviModeNone 状态, 而是会保持在 AMapNaviModeGPS or AMapNaviModeEmulator 状态 Callback function after failed cycling route planning. Starting from version 6.1.0, the navigation SDK only notifies external parties of route calculation failure, and the SDK no longer executes the logic related to stopping navigation internally. Therefore, after the route calculation fails, the driveManager:updateNaviMode: callback will not be received. AMapNaviRideManager.naviMode will not switch to AMapNaviModeNone state, but will remain in AMapNaviModeGPS or AMapNaviModeEmulator state.
(void) | - rideManager:onCalculateRouteFailure:calculateRouteResult:
| 骑行路径规划失败后的回调函数. 从6.1.0版本起,算路失败后导航SDK只对外通知算路失败,SDK内部不再执行停止导航的相关逻辑.因此,当算路失败后,不会收到 driveManager:updateNaviMode: 回调; AMapNaviRideManager.naviMode 不会切换到 AMapNaviModeNone 状态, 而是会保持在 AMapNaviModeGPS or AMapNaviModeEmulator 状态。since 10.1.111 Callback function after failed cycling route planning. Starting from version 6.1.0, the navigation SDK only notifies external parties of route calculation failure, and the SDK no longer executes the logic related to stopping navigation internally. Therefore, after the route calculation fails, the driveManager:updateNaviMode: callback will not be received. AMapNaviRideManager.naviMode will not switch to AMapNaviModeNone state, but will remain in AMapNaviModeGPS or AMapNaviModeEmulator state.
(void) | - rideManager:didStartNavi:
| 启动导航后回调函数 Callback function after starting navigation
(void) | - rideManager:didStopNavi:
| 停止导航后回调函数. since 10.1.300
(void) | - rideManagerNeedRecalculateRouteForYaw:
| 出现偏航需要重新计算路径时的回调函数.偏航后将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理. The callback function when a deviation occurs and the path needs to be recalculated. After the deviation, the path will be automatically replanned, and this method will notify you to perform additional processing before the automatic replanning.
(void) | - rideManager:playNaviSoundString:soundStringType:
| 导航播报信息回调函数 Navigation broadcast information callback function
(void) | - rideManagerDidEndEmulatorNavi:
| 模拟导航到达目的地停止导航后的回调函数 Callback function after simulated navigation reaches the destination and stops navigation
(void) | - rideManagerOnArrivedDestination:
| 导航到达目的地后的回调函数 Callback function after navigation reaches the destination
(void) | - rideManager:updateGPSSignalStrength:
| 卫星定位信号强弱回调函数. since 7.4.0 Callback function for satellite positioning signal strength

## Method Documentation

## ◆ rideManager:didStartNavi:

- (void) rideManager: |  | (AMapNaviEleBikeManager *) | eleBikeManager
didStartNavi: |  | (AMapNaviMode) | naviMode
| optional

启动导航后回调函数 Callback function after starting navigation

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class
  naviMode | 导航类型，参考AMapNaviMode Navigation type, refer to AMapNaviMode

## ◆ rideManager:didStopNavi:

- (void) rideManager: |  | (AMapNaviEleBikeManager *) | eleBikeManager
didStopNavi: |  | (BOOL) | isStopped
| optional

停止导航后回调函数. since 10.1.300

Parameters

  eleBikeManager | 电动车骑行导航管理类
  isStopped | 是否停止导航成功

## ◆ rideManager:error:

- (void) rideManager: |  | (AMapNaviEleBikeManager *) | eleBikeManager
error: |  | (NSError *) | error
| optional

发生错误时,会调用代理的此方法 When an error occurs, this method of the delegate will be called

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class
  error | 错误信息 Error message

## ◆ rideManager:onCalculateRouteFailure:

- (void) rideManager: |  | (AMapNaviEleBikeManager *) | eleBikeManager
onCalculateRouteFailure: |  | (NSError *) | error
| optional

骑行路径规划失败后的回调函数. 从6.1.0版本起,算路失败后导航SDK只对外通知算路失败,SDK内部不再执行停止导航的相关逻辑.因此,当算路失败后,不会收到 driveManager:updateNaviMode: 回调; AMapNaviRideManager.naviMode 不会切换到 AMapNaviModeNone 状态, 而是会保持在 AMapNaviModeGPS or AMapNaviModeEmulator 状态 Callback function after failed cycling route planning. Starting from version 6.1.0, the navigation SDK only notifies external parties of route calculation failure, and the SDK no longer executes the logic related to stopping navigation internally. Therefore, after the route calculation fails, the driveManager:updateNaviMode: callback will not be received. AMapNaviRideManager.naviMode will not switch to AMapNaviModeNone state, but will remain in AMapNaviModeGPS or AMapNaviModeEmulator state.

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class
  error | 错误信息,error.code参照AMapNaviCalcRouteState Error message, error.code refers to AMapNaviCalcRouteState.

## ◆ rideManager:onCalculateRouteFailure:calculateRouteResult:

- (void) rideManager: |  | (AMapNaviEleBikeManager *) | eleBikeManager
onCalculateRouteFailure: |  | (NSError *) | error
calculateRouteResult: |  | (AMapNaviCalculateRouteResult *) | calculateRouteResult
| optional

骑行路径规划失败后的回调函数. 从6.1.0版本起,算路失败后导航SDK只对外通知算路失败,SDK内部不再执行停止导航的相关逻辑.因此,当算路失败后,不会收到 driveManager:updateNaviMode: 回调; AMapNaviRideManager.naviMode 不会切换到 AMapNaviModeNone 状态, 而是会保持在 AMapNaviModeGPS or AMapNaviModeEmulator 状态。since 10.1.111 Callback function after failed cycling route planning. Starting from version 6.1.0, the navigation SDK only notifies external parties of route calculation failure, and the SDK no longer executes the logic related to stopping navigation internally. Therefore, after the route calculation fails, the driveManager:updateNaviMode: callback will not be received. AMapNaviRideManager.naviMode will not switch to AMapNaviModeNone state, but will remain in AMapNaviModeGPS or AMapNaviModeEmulator state.

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class
  error | 错误信息,error.code参照AMapNaviCalcRouteState Error message, error.code refers to AMapNaviCalcRouteState.

## ◆ rideManager:playNaviSoundString:soundStringType:

- (void) rideManager: |  | (AMapNaviEleBikeManager *) | eleBikeManager
playNaviSoundString: |  | (NSString *) | soundString
soundStringType: |  | (AMapNaviSoundType) | soundStringType
| optional

导航播报信息回调函数 Navigation broadcast information callback function

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class
  soundString | 播报文字 Broadcast text
  soundStringType | 播报类型,参考 AMapNaviSoundType. 注意：since 6.0.0 AMapNaviSoundType 只返回 AMapNaviSoundTypeDefault Broadcast type, refer to AMapNaviSoundType. Note: since 6.0.0 AMapNaviSoundType only returns AMapNaviSoundTypeDefault

## ◆ rideManager:updateGPSSignalStrength:

- (void) rideManager: |  | (AMapNaviEleBikeManager *) | eleBikeManager
updateGPSSignalStrength: |  | (AMapNaviGPSSignalStrength) | gpsSignalStrength
| optional

卫星定位信号强弱回调函数. since 7.4.0 Callback function for satellite positioning signal strength

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class
  gpsSignalStrength | 卫星定位信号强度类型,参考 AMapNaviGPSSignalStrength . Satellite positioning signal strength type, refer to AMapNaviGPSSignalStrength.

## ◆ rideManagerDidEndEmulatorNavi:

- (void) rideManagerDidEndEmulatorNavi: |  | (AMapNaviEleBikeManager *) | eleBikeManager |
| optional

模拟导航到达目的地停止导航后的回调函数 Callback function after simulated navigation reaches the destination and stops navigation

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class

## ◆ rideManagerNeedRecalculateRouteForYaw:

- (void) rideManagerNeedRecalculateRouteForYaw: |  | (AMapNaviEleBikeManager *) | eleBikeManager |
| optional

出现偏航需要重新计算路径时的回调函数.偏航后将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理. The callback function when a deviation occurs and the path needs to be recalculated. After the deviation, the path will be automatically replanned, and this method will notify you to perform additional processing before the automatic replanning.

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class

## ◆ rideManagerOnArrivedDestination:

- (void) rideManagerOnArrivedDestination: |  | (AMapNaviEleBikeManager *) | eleBikeManager |
| optional

导航到达目的地后的回调函数 Callback function after navigation reaches the destination

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class

## ◆ rideManagerOnCalculateRouteSuccess:

- (void) rideManagerOnCalculateRouteSuccess: |  | (AMapNaviEleBikeManager *) | eleBikeManager |
| optional

骑行路径规划成功后的回调函数 Callback function after successful cycling route planning

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class

## ◆ rideManagerOnCalculateRouteSuccess:calculateRouteResult:

- (void) rideManagerOnCalculateRouteSuccess: |  | (AMapNaviEleBikeManager *) | eleBikeManager
calculateRouteResult: |  | (AMapNaviCalculateRouteResult *) | calculateRouteResult
| optional

骑行路径规划成功后的回调函数。since 10.1.111 Callback function after successful cycling route planning

Parameters

  eleBikeManager | 电动车骑行导航管理类 Electric bike riding navigation management class

The documentation for this protocol was generated from the following file:

- AMapNaviEleBikeManager.h

© 2017 高德信息技术有限公司 版权所有，保留所有权利。