|
高德地图SDK(导航)
V11.1.000
|
#import <AMapNaviCompositeManager.h>
Instance Methods | |
| (void) | - compositeManager:error: |
| 发生错误时,会调用此方法 This method is called when an error occurs More... | |
| (void) | - compositeManagerOnCalculateRouteSuccess: |
| 算路成功后的回调函数, 路径规划页面的算路、导航页面的重算等成功后均会调用此方法 The callback function after successful route calculation, which will be called after successful route calculation on the route planning page or re-calculation on the navigation page More... | |
| (void) | - compositeManager:onCalculateRouteSuccessWithType: |
| 算路成功后的回调函数. since 5.5.0 The callback function after successful route calculation More... | |
| (void) | - compositeManager:onCalculateRouteFailure: |
| 算路失败后的回调函数,路径规划页面的算路、导航页面的重算等失败后均会调用此方法 Callback function after route calculation failure, this method will be called when route calculation on the route planning page or re-calculation on the navigation page fails More... | |
| (void) | - compositeManager:didStartNavi: |
| 开始导航的回调函数 Callback function to start navigation More... | |
| (BOOL) | - compositeManagerIsNaviSoundPlaying: |
| SDK需要实时的获取是否正在进行导航信息播报,以便SDK内部控制 "导航播报信息回调函数" 的触发时机,避免出现下一句话打断前一句话的情况. 如果需要自定义"导航语音播报"功能,必须实现此代理 The SDK needs to obtain in real time whether navigation information is being broadcast, so that the SDK can internally control the triggering timing of the "navigation broadcast information callback function" to avoid the next sentence interrupting the previous one. If you need to customize the "navigation voice broadcast" function, this delegate must be implemented. More... | |
| (void) | - compositeManager:playNaviSoundString:soundStringType: |
| 导航播报信息回调函数,此回调函数需要和compositeManagerIsNaviSoundPlaying:配合使用. 如果需要自定义"导航语音播报"功能,必须实现此代理 Navigation broadcast information callback function, this callback function needs to be used in conjunction with compositeManagerIsNaviSoundPlaying:. If you need to customize the "navigation voice broadcast" function, you must implement this delegate More... | |
| (void) | - compositeManagerStopPlayNaviSound: |
| 停止导航语音播报的回调函数,当导航SDK需要停止外部语音播报时,会调用此方法. 如果需要自定义"导航语音播报"功能,必须实现此代理 The callback function to stop navigation voice broadcast. This method will be called when the navigation SDK needs to stop external voice broadcast. If you need to customize the "navigation voice broadcast" function, this delegate must be implemented More... | |
| (void) | - compositeManager:updateNaviLocation: |
| 当前位置更新回调(无论是否在导航中,只要当前位置有更新就会回调) Current location update callback (triggered whenever the current location is updated, regardless of whether in navigation mode) More... | |
| (void) | - compositeManager:didChangeDayNightType: |
| 驾车导航页面白天夜间模式切换回调 since 6.7.0 Driving navigation page day/night mode switch callback More... | |
| (void) | - compositeManager:didArrivedDestination: |
| 导航到达目的地后的回调函数 Callback function after navigation reaches the destination More... | |
| (void) | - compositeManager:didBackwardAction: |
| 导航组件页面回退或者退出导航组件时会调用此函数 since 5.5.0 This function will be called when the navigation component page goes back or exits the navigation component More... | |
| (void) | - compositeManager:onDriveStrategyChanged: |
| 每次进入导航组件时和驾车路径规划策略改变均会调用此方法 since 6.1.0 This method will be called every time entering the navigation component and when the driving route planning strategy changes More... | |
| (void) | - compositeManager:onArrivedWayPoint: |
| 导航到达某个途经点的回调函数 since 6.1.0 Callback function when navigation reaches a waypoint More... | |
| (void) | - compositeManagerDidChangeMapViewModeType: |
| 导航界面地图的日夜模式设置改变的回调函数. since 7.1.0 Callback function for day-night mode setting changes in the navigation interface map More... | |
| (void) | - compositeManagerDidChangeBroadcastType: |
| 导航语音播报模式设置改变的回调函数. since 7.1.0 Callback function for navigation voice broadcast mode setting changes More... | |
| (void) | - compositeManagerDidChangeTrackingMode: |
| 导航界面跟随模式设置改变的回调函数. since 7.1.0 Callback function for navigation interface follow mode setting changes More... | |
| (void) | - compositeManagerDidChangeAutoZoomMapLevel: |
| 比例尺智能缩放设置改变的回调函数. since 7.1.0 Callback function for changes in the intelligent scale zoom setting More... | |
| (void) | - compositeManager:updateRemainServiceAreaDetailInfos: |
| 导航界面的服务区卡片View点击时触发的剩余服务区列表回调函数 The callback function for the remaining service area list triggered when clicking on the service area card View in the navigation interface More... | |
AMapNaviCompositeManagerDelegate 协议 since 5.1.0 AMapNaviCompositeManagerDelegate Protocol since 5.1.0
|
optional |
导航到达目的地后的回调函数 Callback function after navigation reaches the destination
| compositeManager | 导航组件类 Navigation component class |
| naviMode | 导航类型,参考 AMapNaviMode . Navigation type, refer to AMapNaviMode |
|
optional |
导航组件页面回退或者退出导航组件时会调用此函数 since 5.5.0 This function will be called when the navigation component page goes back or exits the navigation component
| compositeManager | 导航组件类 Navigation component class |
| backwardActionType | 导航组件页面回退的动作类型,参考 AMapNaviCompositeVCBackwardActionType . The action type of the navigation component page going back, refer to AMapNaviCompositeVCBackwardActionType |
|
optional |
驾车导航页面白天夜间模式切换回调 since 6.7.0 Driving navigation page day/night mode switch callback
| compositeManager | 导航组件类 Navigation component class |
| showStandardNightType | 是否为夜间模式,YES 表示夜间模式,NO 表示白天模式 Whether it is night mode, YES indicates night mode, NO indicates day mode |
|
optional |
开始导航的回调函数 Callback function to start navigation
| compositeManager | 导航组件类 Navigation component class |
| naviMode | 导航类型,参考 AMapNaviMode . Navigation type, refer to AMapNaviMode |
|
optional |
发生错误时,会调用此方法 This method is called when an error occurs
| compositeManager | 导航组件类 Navigation component class |
| error | 错误信息 Error message |
|
optional |
导航到达某个途经点的回调函数 since 6.1.0 Callback function when navigation reaches a waypoint
| compositeManager | 导航组件类 Navigation component class |
| wayPointIndex | 到达途径点的编号,标号从0开始. 注意:如果导航过程进行了路径重算(包含偏航、手动刷新等),wayPointIndex会重新从0开始计数 The index of the reached waypoint, starting from 0. Note: If the route is recalculated during navigation (including deviation, manual refresh, etc.), wayPointIndex will restart counting from 0 |
|
optional |
算路失败后的回调函数,路径规划页面的算路、导航页面的重算等失败后均会调用此方法 Callback function after route calculation failure, this method will be called when route calculation on the route planning page or re-calculation on the navigation page fails
| compositeManager | 导航组件类 Navigation component class |
| error | 错误信息,error.code参考 AMapNaviCalcRouteState . Error message, error.code refer to AMapNaviCalcRouteState. |
|
optional |
算路成功后的回调函数. since 5.5.0 The callback function after successful route calculation
| compositeManager | 导航组件类 Navigation component class |
| type | 路径规划类型,参考 AMapNaviRoutePlanType . Route planning type, refer to AMapNaviRoutePlanType |
|
optional |
每次进入导航组件时和驾车路径规划策略改变均会调用此方法 since 6.1.0 This method will be called every time entering the navigation component and when the driving route planning strategy changes
| compositeManager | 导航组件类 Navigation component class |
| driveStrategy | 驾车路径规划策略,参考 AMapNaviDrivingStrategy . Driving route planning strategy, refer to AMapNaviDrivingStrategy |
|
optional |
导航播报信息回调函数,此回调函数需要和compositeManagerIsNaviSoundPlaying:配合使用. 如果需要自定义"导航语音播报"功能,必须实现此代理 Navigation broadcast information callback function, this callback function needs to be used in conjunction with compositeManagerIsNaviSoundPlaying:. If you need to customize the "navigation voice broadcast" function, you must implement this delegate
| compositeManager | 导航组件类 Navigation component 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 |
|
optional |
当前位置更新回调(无论是否在导航中,只要当前位置有更新就会回调) Current location update callback (triggered whenever the current location is updated, regardless of whether in navigation mode)
| compositeManager | 导航组件类 Navigation component class |
| naviLocation | 当前位置信息,参考 AMapNaviLocation 类 Current location information, refer to AMapNaviLocation class |
|
optional |
导航界面的服务区卡片View点击时触发的剩余服务区列表回调函数 The callback function for the remaining service area list triggered when clicking on the service area card View in the navigation interface
| compositeManager | 导航组件类 Navigation Component Class |
| remainServiceAreaDetails | 剩余服务区列表详情 Details of the remaining service area list |
|
optional |
比例尺智能缩放设置改变的回调函数. since 7.1.0 Callback function for changes in the intelligent scale zoom setting
| autoZoomMapLevel | 锁车模式下是否为了预见下一导航动作自动缩放地图 Whether to automatically zoom the map in car-lock mode to anticipate the next navigation action |
|
optional |
导航语音播报模式设置改变的回调函数. since 7.1.0 Callback function for navigation voice broadcast mode setting changes
| type | 参考 AMapNaviCompositeBroadcastType . Refer to AMapNaviCompositeBroadcastType. |
|
optional |
导航界面地图的日夜模式设置改变的回调函数. since 7.1.0 Callback function for day-night mode setting changes in the navigation interface map
| type | 参考 AMapNaviViewMapModeType . Refer to AMapNaviViewMapModeType. |
|
optional |
导航界面跟随模式设置改变的回调函数. since 7.1.0 Callback function for navigation interface follow mode setting changes
| mode | 参考 AMapNaviViewTrackingMode . Refer to AMapNaviViewTrackingMode. |
|
optional |
SDK需要实时的获取是否正在进行导航信息播报,以便SDK内部控制 "导航播报信息回调函数" 的触发时机,避免出现下一句话打断前一句话的情况. 如果需要自定义"导航语音播报"功能,必须实现此代理 The SDK needs to obtain in real time whether navigation information is being broadcast, so that the SDK can internally control the triggering timing of the "navigation broadcast information callback function" to avoid the next sentence interrupting the previous one. If you need to customize the "navigation voice broadcast" function, this delegate must be implemented.
| compositeManager | 导航组件类 Navigation component class |
|
optional |
算路成功后的回调函数, 路径规划页面的算路、导航页面的重算等成功后均会调用此方法 The callback function after successful route calculation, which will be called after successful route calculation on the route planning page or re-calculation on the navigation page
| compositeManager | 导航组件类 Navigation component class |
|
optional |
停止导航语音播报的回调函数,当导航SDK需要停止外部语音播报时,会调用此方法. 如果需要自定义"导航语音播报"功能,必须实现此代理 The callback function to stop navigation voice broadcast. This method will be called when the navigation SDK needs to stop external voice broadcast. If you need to customize the "navigation voice broadcast" function, this delegate must be implemented
| compositeManager | 导航组件类 Navigation component class |