#import <AMapNaviDriveManager.h>
|
(void) | - driveManager:error: |
| 发生错误时,会调用代理的此方法
|
|
(void) | - driveManagerOnCalculateRouteSuccess: |
| 驾车路径规划成功后的回调函数,请尽量使用 -driveManager:onCalculateRouteSuccessWithType: 替代此方法
|
|
(void) | - driveManager:onCalculateRouteSuccessWithType: |
| 驾车路径规划成功后的回调函数 since 6.1.0
|
|
(void) | - driveManager:onCalculateRouteFailure: |
| 驾车路径规划失败后的回调函数. 从5.3.0版本起,算路失败后导航SDK只对外通知算路失败,SDK内部不再执行停止导航的相关逻辑.因此,当算路失败后,不会收到 driveManager:updateNaviMode: 回调; AMapNaviDriveManager.naviMode 不会切换到 AMapNaviModeNone 状态, 而是会保持在 AMapNaviModeGPS or AMapNaviModeEmulator 状态.
|
|
(void) | - driveManager:onCalculateRouteFailure:routePlanType: |
| 驾车路径规划失败后的回调函数. since 6.1.0
|
|
(void) | - driveManager:didStartNavi: |
| 启动导航后回调函数
|
|
(void) | - driveManagerNeedRecalculateRouteForYaw: |
| 出现偏航需要重新计算路径时的回调函数.偏航后 SDK 内部将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理,您无需自行算路.
|
|
(void) | - driveManagerNeedRecalculateRouteForTrafficJam: |
| 前方遇到拥堵需要重新计算路径时的回调函数.拥堵后 SDK 将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理,您无需自行算路.
|
|
(void) | - driveManager:onArrivedWayPoint: |
| 导航到达某个途经点的回调函数
|
|
(BOOL) | - driveManagerIsNaviSoundPlaying: |
| 开发者请根据实际情况返回是否正在播报语音,如果正在播报语音,请返回YES, 如果没有在播报语音,请返回NO
|
|
(void) | - driveManager:playNaviSoundString:soundStringType: |
| 导航播报信息回调函数,此回调函数需要和driveManagerIsNaviSoundPlaying:配合使用
|
|
(void) | - driveManagerDidEndEmulatorNavi: |
| 模拟导航到达目的地后的回调函数
|
|
(void) | - driveManagerOnArrivedDestination: |
| 实时导航到达目的地后的回调函数
|
|
(void) | - driveManager:onNaviPlayRing: |
| 导航(巡航)过程中播放提示音的回调函数. since 5.4.0
|
|
(void) | - driveManager:updateGPSSignalStrength: |
| 卫星定位信号强弱回调函数. since 5.5.0
|
|
(void) | - driveManager:postRouteNotification: |
| 实时导航中关于路线的‘信息通知’回调. since 6.2.0
|
|
(void) | - driveManager:onSuggestChangeMainNaviRoute: |
| 多路线实时导航模式下,建议将某备选路线切换为主导航路线的回调函数. since 6.3.0
|
|
(void) | - driveManager:onUpdateDriveComfort: |
| 驾车导航道路舒适度回调。特别注意:当前接口为收费接口,您如果申请试用或者正式应用都请通过工单系统提交商务合作类工单进行沟通 https://lbs.amap.com/ since 9.3.5
|
|
(void) | - driveManager:onUpdateDriveEvent: |
|
(void) | - driveManager:onUpdateNaviSpeedLimitSection: |
|
◆ driveManager:didStartNavi:
启动导航后回调函数
- Parameters
-
naviMode | 导航类型,参考 AMapNaviMode . |
driveManager | 驾车导航管理类 |
◆ driveManager:error:
发生错误时,会调用代理的此方法
- Parameters
-
driveManager | 驾车导航管理类 |
error | 错误信息 |
◆ driveManager:onArrivedWayPoint:
导航到达某个途经点的回调函数
- Parameters
-
◆ driveManager:onCalculateRouteFailure:
- (void) driveManager: |
|
(AMapNaviDriveManager *) |
driveManager |
onCalculateRouteFailure: |
|
(NSError *) |
error |
|
|
| |
|
optional |
驾车路径规划失败后的回调函数. 从5.3.0版本起,算路失败后导航SDK只对外通知算路失败,SDK内部不再执行停止导航的相关逻辑.因此,当算路失败后,不会收到 driveManager:updateNaviMode: 回调; AMapNaviDriveManager.naviMode 不会切换到 AMapNaviModeNone 状态, 而是会保持在 AMapNaviModeGPS or AMapNaviModeEmulator 状态.
- Parameters
-
driveManager | 驾车导航管理类 |
error | 错误信息,error.code参照 AMapNaviCalcRouteState |
◆ driveManager:onCalculateRouteFailure:routePlanType:
驾车路径规划失败后的回调函数. since 6.1.0
- Parameters
-
driveManager | 驾车导航管理类 |
error | 错误信息,error.code参照 AMapNaviCalcRouteState |
type | 路径规划类型,参考 AMapNaviRoutePlanType |
◆ driveManager:onCalculateRouteSuccessWithType:
驾车路径规划成功后的回调函数 since 6.1.0
- Parameters
-
driveManager | 驾车导航管理类 |
type | 路径规划类型,参考 AMapNaviRoutePlanType |
◆ driveManager:onNaviPlayRing:
导航(巡航)过程中播放提示音的回调函数. since 5.4.0
- Parameters
-
driveManager | 驾车导航管理类 |
ringType | 提示音类型,参考 AMapNaviRingType . |
◆ driveManager:onSuggestChangeMainNaviRoute:
多路线实时导航模式下,建议将某备选路线切换为主导航路线的回调函数. since 6.3.0
- Parameters
-
◆ driveManager:onUpdateDriveComfort:
驾车导航道路舒适度回调。特别注意:当前接口为收费接口,您如果申请试用或者正式应用都请通过工单系统提交商务合作类工单进行沟通 https://lbs.amap.com/ since 9.3.5
- Parameters
-
manager | 驾车导航管理类 |
driveComfort | 驾车舒适度信息对象 |
◆ driveManager:onUpdateDriveEvent:
驾车导航三急(急加速/急减速/急转弯)事件回调。特别注意:当前接口为收费接口,您如果申请试用或者正式应用都请通过工单系统提交商务合作类工单进行沟通 https://lbs.amap.com/ since 9.3.5
- Parameters
-
manager | 驾车导航管理类 |
driveEvent | 驾驶事件信息对象 |
◆ driveManager:onUpdateNaviSpeedLimitSection:
- (void) driveManager: |
|
(AMapNaviDriveManager *_Nullable) |
manager |
onUpdateNaviSpeedLimitSection: |
|
(NSInteger) |
speed |
|
|
| |
|
optional |
路段限速值,进入新的路段后,会回调当前路段的限速值,进入没有限速的路段时,限速值回调为0。since 9.6.0
- Parameters
-
manager | 驾车导航管理类 |
speed | 路段限速值 |
◆ driveManager:playNaviSoundString:soundStringType:
导航播报信息回调函数,此回调函数需要和driveManagerIsNaviSoundPlaying:配合使用
- Parameters
-
driveManager | 驾车导航管理类 |
soundString | 播报文字 |
soundStringType | 播报类型,参考 AMapNaviSoundType. 注意:since 6.0.0 AMapNaviSoundType 只返回 AMapNaviSoundTypeDefault |
◆ driveManager:postRouteNotification:
实时导航中关于路线的‘信息通知’回调. since 6.2.0
- Parameters
-
◆ driveManager:updateGPSSignalStrength:
卫星定位信号强弱回调函数. since 5.5.0
- Parameters
-
driveManager | 驾车导航管理类 |
gpsSignalStrength | 卫星定位信号强度类型,参考 AMapNaviGPSSignalStrength . |
◆ driveManagerDidEndEmulatorNavi:
模拟导航到达目的地后的回调函数
- Parameters
-
◆ driveManagerIsNaviSoundPlaying:
开发者请根据实际情况返回是否正在播报语音,如果正在播报语音,请返回YES, 如果没有在播报语音,请返回NO
- Parameters
-
- Returns
- 如一直返回YES,SDK内部会认为外界声道较忙,导致部分文字无法吐出; 如一直返回NO,文字吐出的频率可能会过快,会出现打断的情况,所以请根据实际情况返回。
◆ driveManagerNeedRecalculateRouteForTrafficJam:
前方遇到拥堵需要重新计算路径时的回调函数.拥堵后 SDK 将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理,您无需自行算路.
- Parameters
-
◆ driveManagerNeedRecalculateRouteForYaw:
出现偏航需要重新计算路径时的回调函数.偏航后 SDK 内部将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理,您无需自行算路.
- Parameters
-
◆ driveManagerOnArrivedDestination:
实时导航到达目的地后的回调函数
- Parameters
-
◆ driveManagerOnCalculateRouteSuccess:
驾车路径规划成功后的回调函数,请尽量使用 -driveManager:onCalculateRouteSuccessWithType: 替代此方法
- Parameters
-
The documentation for this protocol was generated from the following file: