11NS_ASSUME_NONNULL_BEGIN
23#pragma mark - Navi Mode
39#pragma mark - External Location
55- (void)setExternalLocation:(CLLocation *)externalLocation isAMapCoordinate:(BOOL)isAMapCoordinate;
57#pragma mark - 实时导航 & 模拟导航
63- (void)setEmulatorNaviSpeed:(
int)speed;
115#pragma mark - Navi Guide
AMapNaviMode
Definition AMapNaviCommonObj.h:25
注意:该类为导航控制器基类,请不要直接使用
Definition AMapNaviBaseManager.h:22
CLLocation * externalLocation
外部传入定位信息(enableExternalLocation为YES时有效).该方法坐标需使用WGS84坐标系.
Definition AMapNaviBaseManager.h:45
BOOL allowsBackgroundLocationUpdates
是否允许后台定位.默认为NO(只在iOS 9.0及以后版本起作用).注意:设置为YES的时候必须保证 Background Modes 中的 Location updates 处于选中状态,...
Definition AMapNaviBaseManager.h:37
BOOL readNaviInfoManual()
实时导航中手动触发一次信息播报. 注意:该接口仅支持驾车和步行,骑行不支持此功能.
BOOL startGPSNavi()
开始实时导航. 注意:必须在路径规划成功的情况下,才能够开始实时导航
void stopNavi()
停止导航,包含实时导航和模拟导航
BOOL pausesLocationUpdatesAutomatically
指定定位是否会被系统自动暂停。默认为YES。
Definition AMapNaviBaseManager.h:34
void resumeNavi()
继续导航,包含实时导航和模拟导航
AMapNaviMode naviMode
当前导航模式,参考 AMapNaviMode .
Definition AMapNaviBaseManager.h:26
void pauseNavi()
暂停导航,包含实时导航和模拟导航
nullable NSArray< AMapNaviGuide * > * getNaviGuideList()
获取导航路线的路线详情列表
BOOL screenAlwaysBright
是否在导航过程中让屏幕常亮,默认YES.
Definition AMapNaviBaseManager.h:31
BOOL enableExternalLocation
是否采用外部传入定位信息.注意:默认NO.
Definition AMapNaviBaseManager.h:42
BOOL isUseInternalTTS
是否使用内置播放器进行导航播报, 如果为YES,就是由导航SDK来播报导航信息. 默认为NO. since 5.5.0
Definition AMapNaviBaseManager.h:48
BOOL startEmulatorNavi()
开始模拟导航. 注意:必须在路径规划成功的情况下,才能够开始模拟导航
导航段信息类
Definition AMapNaviCommonObj.h:543
导航过程中的导航信息
Definition AMapNaviInfo.h:12
当前的自车位置
Definition AMapNaviLocation.h:12
导航路径信息集合. since 7.7.0
Definition AMapNaviRoute.h:237
导航路径信息
Definition AMapNaviRoute.h:145
导航统计信息
Definition AMapNaviStatisticsInfo.h:12