高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
AMapNaviBaseManager.h
Go to the documentation of this file.
1//
2// AMapNaviBaseManager.h
3// AMapNaviKit
4//
5// Created by 刘博 on 16/1/12.
6// Copyright © 2016年 Amap. All rights reserved.
7//
8
9#import "AMapNaviCommonObj.h"
10
11NS_ASSUME_NONNULL_BEGIN
12
13@class CLLocation;
14@class AMapNaviInfo;
15@class AMapNaviRoute;
16@class AMapNaviLocation;
17@class AMapNaviStatisticsInfo;
18@class AMapNaviRouteGroup;
19@class AMapNaviCalculateRouteResult;
20@class AMapNaviTTSInfo;
21
24@interface AMapNaviBaseManager : NSObject
25
26#pragma mark - Navi Mode
27
30@property (nonatomic, readonly) AMapNaviMode naviMode;
31
32#pragma mark - Options
33
36@property (nonatomic, assign) BOOL screenAlwaysBright;
37
40@property(nonatomic, assign) BOOL pausesLocationUpdatesAutomatically;
41
44@property (nonatomic, assign) BOOL allowsBackgroundLocationUpdates;
45
46#pragma mark - External Location
47
50@property (nonatomic, assign) BOOL enableExternalLocation;
51
54@property (nonatomic, copy) CLLocation *externalLocation;
55
58@property (nonatomic, assign) BOOL isUseInternalTTS;
59
62@property (nonatomic, assign) BOOL isUseTextPlay;
63
73- (BOOL)playTTS:(NSString *)text forcePlay:(BOOL)forcePlay;
74
75#pragma mark - Navi Speech
76
81- (void)pauseNaviSpeech;
82
87- (void)resumeNaviSpeech;
88
97- (void)setExternalLocation:(CLLocation *)externalLocation isAMapCoordinate:(BOOL)isAMapCoordinate;
98
99#pragma mark - 实时导航 & 模拟导航 Real-time Navigation & Simulation Navigation
100
107- (void)setEmulatorNaviSpeed:(int)speed;
108
115- (BOOL)startEmulatorNavi;
116
123- (BOOL)startGPSNavi;
124
133- (BOOL)startEmulatorNavi:(AMapNaviRouteGroup *)routeGroup;
134
143- (BOOL)startGPSNavi:(AMapNaviRouteGroup *)routeGroup;
144
150- (BOOL)stopNavi;
151
156- (void)pauseNavi;
157
162- (void)resumeNavi;
163
171+ (void)setAppLang:(AMapNaviAppLangOptions *)options authCallback:(void(^)(BOOL isAuthSuc))authCallback;
172
181+ (void)setAlcLogConfig:(AMapNaviALCLogLevel)loglevelMask recordStorage:(BOOL)recordStorage;
182
183#pragma mark - Manual
190- (BOOL)readNaviInfoManual;
191
192#pragma mark - 导航结构体信息
193
197- (NSString *)getStructuredInfoInRoute;
198
202- (NSString *)getStructuredInfoInNavi;
203
204
205#pragma mark - Navi Guide
206
213- (nullable NSArray<AMapNaviGuide *> *)getNaviGuideList __attribute__((deprecated("Deprecated, please use guideGroups from AMapNaviRoute instead of since 7.5.0")));
214
215@end
216
217NS_ASSUME_NONNULL_END
AMapNaviCommonObj.h
AMapNaviMode
AMapNaviMode
Definition AMapNaviCommonObj.h:38
AMapNaviAppLangOptions
Definition AMapNaviCommonObj.h:1878
AMapNaviBaseManager
Definition AMapNaviBaseManager.h:25
AMapNaviBaseManager::externalLocation
CLLocation * externalLocation
Definition AMapNaviBaseManager.h:54
AMapNaviBaseManager::allowsBackgroundLocationUpdates
BOOL allowsBackgroundLocationUpdates
Definition AMapNaviBaseManager.h:44
-[AMapNaviBaseManager readNaviInfoManual]
BOOL readNaviInfoManual()
实时导航中手动触发一次信息播报. 注意：该接口仅支持驾车和步行，骑行不支持此功能. Manually trigger an information broadcast during real-time ...
-[AMapNaviBaseManager startGPSNavi]
BOOL startGPSNavi()
开始实时导航. 注意：必须在路径规划成功的情况下，才能够开始实时导航 Start real-time navigation. Note: Real-time navigation can only be...
AMapNaviBaseManager::pausesLocationUpdatesAutomatically
BOOL pausesLocationUpdatesAutomatically
Definition AMapNaviBaseManager.h:40
-[AMapNaviBaseManager pauseNaviSpeech]
void pauseNaviSpeech()
暂停内置导航语音播报，不影响导航状态。暂停期间产生的内置语音不会播报。 Pause built-in navigation voice prompts without affecting navigat...
AMapNaviBaseManager::isUseTextPlay
BOOL isUseTextPlay
Definition AMapNaviBaseManager.h:62
-[AMapNaviBaseManager resumeNaviSpeech]
void resumeNaviSpeech()
恢复内置导航语音播报，不影响导航状态。 Resume built-in navigation voice prompts without affecting navigation state.
-[AMapNaviBaseManager resumeNavi]
void resumeNavi()
继续导航,包含实时导航和模拟导航 Resume navigation, including real-time navigation and simulated navigation
AMapNaviBaseManager::naviMode
AMapNaviMode naviMode
Definition AMapNaviBaseManager.h:30
-[AMapNaviBaseManager pauseNavi]
void pauseNavi()
暂停导航,包含实时导航和模拟导航 Pause navigation, including real-time navigation and simulated navigation
-[AMapNaviBaseManager getNaviGuideList]
nullable NSArray< AMapNaviGuide * > * getNaviGuideList()
获取导航路线的路线详情列表 Get the route details list of the navigation route
AMapNaviBaseManager::screenAlwaysBright
BOOL screenAlwaysBright
Definition AMapNaviBaseManager.h:36
AMapNaviBaseManager::enableExternalLocation
BOOL enableExternalLocation
Definition AMapNaviBaseManager.h:50
-[AMapNaviBaseManager stopNavi]
BOOL stopNavi()
停止导航,包含实时导航和模拟导航 Stop navigation, including real-time navigation and simulated navigation
-[AMapNaviBaseManager getStructuredInfoInNavi]
NSString * getStructuredInfoInNavi()
获取行中结构体信息. since 10.1.300
AMapNaviBaseManager::isUseInternalTTS
BOOL isUseInternalTTS
Definition AMapNaviBaseManager.h:58
-[AMapNaviBaseManager getStructuredInfoInRoute]
NSString * getStructuredInfoInRoute()
获取行前结构体信息. since 10.1.300
-[AMapNaviBaseManager startEmulatorNavi]
BOOL startEmulatorNavi()
开始模拟导航. 注意：必须在路径规划成功的情况下，才能够开始模拟导航 Start simulated navigation. Note: Simulated navigation can only be...
AMapNaviCalculateRouteResult
Definition AMapNaviRoute.h:325
AMapNaviGuide
导航段信息类 Navigation segment information class
Definition AMapNaviCommonObj.h:675
AMapNaviInfo
Definition AMapNaviInfo.h:13
AMapNaviLocation
Definition AMapNaviLocation.h:13
AMapNaviRouteGroup
Definition AMapNaviRoute.h:335
AMapNaviRoute
Definition AMapNaviRoute.h:186
AMapNaviStatisticsInfo
Definition AMapNaviStatisticsInfo.h:13
© 2017 高德信息技术有限公司 版权所有，保留所有权利。