高德地图SDK(导航) V11.2.1501
Loading...
Searching...
No Matches
AMapNaviManagerConfig Class Reference

#include <AMapNaviManagerConfig.h>

Inheritance diagram for AMapNaviManagerConfig:

Instance Methods

(void) - updatePrivacyShow:privacyInfo:
 更新App是否显示隐私弹窗的状态,隐私弹窗是否包含高德SDK隐私协议内容的状态,注意:必须在导航任何一个manager实例化之前调用. since 8.1.0 Update the status of whether the app displays a privacy popup and whether the privacy popup includes the content of the Amap SDK privacy agreement. Note: This must be called before initializing any manager instance in navigation.
 
(void) - updatePrivacyAgree:
 更新用户授权高德SDK隐私协议状态,注意:必须在导航任何一个manager实例化之前调用. since 8.1.0 Update the user authorization status for the AutoNavi SDK privacy agreement. Note: This must be called before initializing any manager instance in navigation
 
(void) - setViaPointEtaDisplayEnable:
 设置途径点私有实例接口,外部禁止调用. since 7.9.0 Set private instance interface for waypoints, external calls are prohibited.
 
(BOOL) - isShowViaEta
 

Class Methods

(instancetype) + sharedConfig
 AMapNaviManagerConfig单例. since 8.0.1 AMapNaviManagerConfig singleton.
 

Properties

BOOL customviewShowViaEtaEnable
 
BOOL cmaltimeterEnable
 设置是否使用CMAltimeter相关接口, 如果配置使用则需要设置NSMotionUsageDescription you must include the NSMotionUsageDescription key in your app’s Info.plist https://developer.apple.com/documentation/coremotion/cmaltimeter 需要在使用 AMapNaviDriveManager 相关接口前设置 生效 Effective settings need to be made before using the AMapNaviDriveManager interface
 
BOOL showViaEta
 
float speechRate
 内置语音播报速度,默认值为AVSpeechUtteranceDefaultSpeechRate, Built in voice broadcast speed, default value is AVSpeechUtteranceDefaultSpeechRate, 注意该值需要在AVSpeechUtteranceMinimumSpeechRate 和 AVSpeechUtteranceMaximumSpeechRate之间 Note that this value needs to be between AVSpeechUtteranceMinimumSpeechRate and AVSpeechUtteranceMaximumSpeechRate
 

Method Documentation

◆ isShowViaEta

- (BOOL) isShowViaEta

Provided by category AMapNaviManagerConfig(Private).

◆ setViaPointEtaDisplayEnable:

- (void) setViaPointEtaDisplayEnable: (BOOL)  isEnable

设置途径点私有实例接口,外部禁止调用. since 7.9.0 Set private instance interface for waypoints, external calls are prohibited.

Provided by category AMapNaviManagerConfig(Private).

◆ sharedConfig

+ (instancetype) sharedConfig

AMapNaviManagerConfig单例. since 8.0.1 AMapNaviManagerConfig singleton.

Returns
AMapNaviManagerConfig实例 AMapNaviManagerConfig instance

◆ updatePrivacyAgree:

- (void) updatePrivacyAgree: (AMapPrivacyAgreeStatus)  agreeStatus

更新用户授权高德SDK隐私协议状态,注意:必须在导航任何一个manager实例化之前调用. since 8.1.0 Update the user authorization status for the AutoNavi SDK privacy agreement. Note: This must be called before initializing any manager instance in navigation

Parameters
agreeStatus用户授权高德SDK隐私协议状态 User authorization status for the AutoNavi SDK privacy agreement

◆ updatePrivacyShow:privacyInfo:

- (void) updatePrivacyShow: (AMapPrivacyShowStatus)  showStatus
privacyInfo: (AMapPrivacyInfoStatus)  containStatus 

更新App是否显示隐私弹窗的状态,隐私弹窗是否包含高德SDK隐私协议内容的状态,注意:必须在导航任何一个manager实例化之前调用. since 8.1.0 Update the status of whether the app displays a privacy popup and whether the privacy popup includes the content of the Amap SDK privacy agreement. Note: This must be called before initializing any manager instance in navigation.

Parameters
showStatus隐私弹窗状态 Privacy popup status
containStatus包含高德SDK隐私协议状态 Includes AMap SDK privacy agreement status

Property Documentation

◆ cmaltimeterEnable

- (BOOL) cmaltimeterEnable
readwritenonatomicassign

设置是否使用CMAltimeter相关接口, 如果配置使用则需要设置NSMotionUsageDescription you must include the NSMotionUsageDescription key in your app’s Info.plist https://developer.apple.com/documentation/coremotion/cmaltimeter 需要在使用 AMapNaviDriveManager 相关接口前设置 生效 Effective settings need to be made before using the AMapNaviDriveManager interface

默认关闭 Disabled by default

◆ customviewShowViaEtaEnable

- (BOOL) customviewShowViaEtaEnable
readwritenonatomicassign

◆ showViaEta

- (BOOL) showViaEta
readwritenonatomicassign

在导航视图底部区域显示到达最近途经点的ETA信息,默认为NO Display ETA information of the nearest waypoint in the bottom area of the navigation view, default is NO

Since
10.0.923

◆ speechRate

- (float) speechRate
readwritenonatomicassign

内置语音播报速度,默认值为AVSpeechUtteranceDefaultSpeechRate, Built in voice broadcast speed, default value is AVSpeechUtteranceDefaultSpeechRate, 注意该值需要在AVSpeechUtteranceMinimumSpeechRate 和 AVSpeechUtteranceMaximumSpeechRate之间 Note that this value needs to be between AVSpeechUtteranceMinimumSpeechRate and AVSpeechUtteranceMaximumSpeechRate

Since
10.0.923

The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。