#import <AMapNaviDriveManager.h>
|
(void) | - driveManager:error: |
| 发生错误时,会调用代理的此方法 More...
|
|
(void) | - driveManagerOnCalculateRouteSuccess: |
| 驾车路径规划成功后的回调函数,请尽量使用 -driveManager:onCalculateRouteSuccessWithType: 替代此方法 More...
|
|
(void) | - driveManager:onCalculateRouteSuccessWithType: |
| 驾车路径规划成功后的回调函数 since 6.1.0 More...
|
|
(void) | - driveManager:onCalculateRouteFailure: |
| 驾车路径规划失败后的回调函数. 从5.3.0版本起,算路失败后导航SDK只对外通知算路失败,SDK内部不再执行停止导航的相关逻辑.因此,当算路失败后,不会收到 driveManager:updateNaviMode: 回调; AMapDriveManager.naviMode 不会切换到 AMapNaviModeNone 状态, 而是会保持在 AMapNaviModeGPS or AMapNaviModeEmulator 状态. More...
|
|
(void) | - driveManager:onCalculateRouteFailure:routePlanType: |
| 驾车路径规划失败后的回调函数. since 6.1.0 More...
|
|
(void) | - driveManager:didStartNavi: |
| 启动导航后回调函数 More...
|
|
(void) | - driveManagerNeedRecalculateRouteForYaw: |
| 出现偏航需要重新计算路径时的回调函数.偏航后 SDK 内部将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理,您无需自行算路. More...
|
|
(void) | - driveManagerNeedRecalculateRouteForTrafficJam: |
| 前方遇到拥堵需要重新计算路径时的回调函数.拥堵后 SDK 将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理,您无需自行算路. More...
|
|
(void) | - driveManager:onArrivedWayPoint: |
| 导航到达某个途经点的回调函数 More...
|
|
(BOOL) | - driveManagerIsNaviSoundPlaying: |
| 开发者请根据实际情况返回是否正在播报语音,如果正在播报语音,请返回YES, 如果没有在播报语音,请返回NO More...
|
|
(void) | - driveManager:playNaviSoundString:soundStringType: |
| 导航播报信息回调函数,此回调函数需要和driveManagerIsNaviSoundPlaying:配合使用 More...
|
|
(void) | - driveManagerDidEndEmulatorNavi: |
| 模拟导航到达目的地后的回调函数 More...
|
|
(void) | - driveManagerOnArrivedDestination: |
| 实时导航到达目的地后的回调函数 More...
|
|
(void) | - driveManager:onNaviPlayRing: |
| 导航(巡航)过程中播放提示音的回调函数. since 5.4.0 More...
|
|
(void) | - driveManager:updateGPSSignalStrength: |
| 卫星定位信号强弱回调函数. since 5.5.0 More...
|
|
(void) | - driveManager:postRouteNotification: |
| 实时导航中关于路线的‘信息通知’回调. since 6.2.0 More...
|
|
(void) | - driveManager:onSuggestChangeMainNaviRoute: |
| 多路线实时导航模式下,建议将某备选路线切换为主导航路线的回调函数. since 6.3.0 More...
|
|
◆ 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: 回调; AMapDriveManager.naviMode 不会切换到 AMapNaviModeNone 状态, 而是会保持在 AMapNaviModeGPS or AMapNaviModeEmulator 状态.
- Parameters
-
driveManager | 驾车导航管理类 |
error | 错误信息,error.code参照 AMapNaviCalcRouteState |
◆ driveManager:onCalculateRouteFailure:routePlanType:
- (void) driveManager: |
|
(AMapNaviDriveManager *) |
driveManager |
onCalculateRouteFailure: |
|
(NSError *) |
error |
routePlanType: |
|
(AMapNaviRoutePlanType) |
type |
|
|
| |
|
optional |
驾车路径规划失败后的回调函数. since 6.1.0
- Parameters
-
driveManager | 驾车导航管理类 |
error | 错误信息,error.code参照 AMapNaviCalcRouteState |
type | 路径规划类型,参考 AMapNaviRoutePlanType |
◆ driveManager:onCalculateRouteSuccessWithType:
- (void) driveManager: |
|
(AMapNaviDriveManager *) |
driveManager |
onCalculateRouteSuccessWithType: |
|
(AMapNaviRoutePlanType) |
type |
|
|
| |
|
optional |
驾车路径规划成功后的回调函数 since 6.1.0
- Parameters
-
driveManager | 驾车导航管理类 |
type | 路径规划类型,参考 AMapNaviRoutePlanType |
◆ driveManager:onNaviPlayRing:
- (void) driveManager: |
|
(AMapNaviDriveManager *) |
driveManager |
onNaviPlayRing: |
|
(AMapNaviRingType) |
ringType |
|
|
| |
|
optional |
导航(巡航)过程中播放提示音的回调函数. since 5.4.0
- Parameters
-
driveManager | 驾车导航管理类 |
ringType | 提示音类型,参考 AMapNaviRingType . |
◆ driveManager:onSuggestChangeMainNaviRoute:
多路线实时导航模式下,建议将某备选路线切换为主导航路线的回调函数. since 6.3.0
- Parameters
-
◆ driveManager:playNaviSoundString:soundStringType:
- (void) driveManager: |
|
(AMapNaviDriveManager *) |
driveManager |
playNaviSoundString: |
|
(NSString *) |
soundString |
soundStringType: |
|
(AMapNaviSoundType) |
soundStringType |
|
|
| |
|
optional |
导航播报信息回调函数,此回调函数需要和driveManagerIsNaviSoundPlaying:配合使用
- Parameters
-
driveManager | 驾车导航管理类 |
soundString | 播报文字 |
soundStringType | 播报类型,参考 AMapNaviSoundType. 注意:since 6.0.0 AMapNaviSoundType 只返回 AMapNaviSoundTypeDefault |
◆ driveManager:postRouteNotification:
实时导航中关于路线的‘信息通知’回调. since 6.2.0
- Parameters
-
◆ driveManager:updateGPSSignalStrength:
- (void) driveManager: |
|
(AMapNaviDriveManager *) |
driveManager |
updateGPSSignalStrength: |
|
(AMapNaviGPSSignalStrength) |
gpsSignalStrength |
|
|
| |
|
optional |
卫星定位信号强弱回调函数. since 5.5.0
- Parameters
-
driveManager | 驾车导航管理类 |
gpsSignalStrength | 卫星定位信号强度类型,参考 AMapNaviGPSSignalStrength . |
◆ driveManagerDidEndEmulatorNavi:
模拟导航到达目的地后的回调函数
- Parameters
-
◆ driveManagerIsNaviSoundPlaying:
开发者请根据实际情况返回是否正在播报语音,如果正在播报语音,请返回YES, 如果没有在播报语音,请返回NO
- Parameters
-
- Returns
- 如一直返回YES,SDK内部会认为外界一直在播报,"-driveManager:playNaviSoundString:soundStringType" 就会一直不触发,导致无文字吐出; 如一直返回NO,文字吐出的频率可能会过快,会出现语句打断情况,所以请根据实际情况返回。
◆ driveManagerNeedRecalculateRouteForTrafficJam:
前方遇到拥堵需要重新计算路径时的回调函数.拥堵后 SDK 将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理,您无需自行算路.
- Parameters
-
◆ driveManagerNeedRecalculateRouteForYaw:
出现偏航需要重新计算路径时的回调函数.偏航后 SDK 内部将自动重新路径规划,该方法将在自动重新路径规划前通知您进行额外的处理,您无需自行算路.
- Parameters
-
◆ driveManagerOnArrivedDestination:
实时导航到达目的地后的回调函数
- Parameters
-
◆ driveManagerOnCalculateRouteSuccess:
驾车路径规划成功后的回调函数,请尽量使用 -driveManager:onCalculateRouteSuccessWithType: 替代此方法
- Parameters
-
The documentation for this protocol was generated from the following file: