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

Loading...
Searching...
No Matches
AMapNaviDriveManager+AMLMpid.h
Go to the documentation of this file.
1//
2// AMapNaviDriveManager+AMLMpid.h
3// AMLDriverClientKit
4//
5// Created by lly on 2022/12/31.
6// Copyright © 2022 AMAP. All rights reserved.
7//
8
9#import "AMapNaviDriveManager.h"
10#import "AMapNaviCommonObj.h"
11#import "AMapNaviRoute.h"
12
13NS_ASSUME_NONNULL_BEGIN
14
15@interface AMapNaviRoute (AMLMpid)
16
19@property (nonatomic,assign,readonly) BOOL isMpidRestoreRoute;
20
21@end
22
23
24@protocol AMapNaviMpidDelegate <NSObject>
25
30- (void)driveManager:(AMapNaviDriveManager *)manager onRestoreMpidFailure:(NSInteger)mpidErrorCode;
31
32@end
33
34@class AMapNaviMpidOption;
35@class AMapNaviMpidRestoreOption;
36
39@interface AMapNaviDriveManager (AMLMpid)
40
42@property (nonatomic,assign) BOOL allowReRouteWhenMpidFail;
43
45@property (nonatomic,weak,nullable) id<AMapNaviMpidDelegate> mpidDelegate;
46
49- (void)setMpid:(NSString *)mpid __attribute((deprecated("已废弃 since10.3.0 use setMpidRestoreOption: instead 该接口设置mpid只支持货车")));
50
54- (void)setMpid:(NSString *)mpid vehicleInfo:(AMapNaviVehicleInfo *)vehicleInfo __attribute((deprecated("已废弃 use setMpidRestoreOption: instead 该接口设置mpid只支持货车")));
55
58- (void)clearMpid __attribute((deprecated("已废弃 since10.3.0 use clearMpidRestoreOption instead")));
59
60
66- (void)setMpidRestoreOption:(AMapNaviMpidRestoreOption *)opt;
67
68
71- (void)clearMpidRestoreOption;
72
73
83- (void)getMpidWithNaviRoutes:(NSArray<AMapNaviRoute*> *)routes
84 option:(nullable AMapNaviMpidOption*)option
85 andCallback:(nonnull void (^)( NSError * _Nullable error, NSArray<NSString*> * _Nullable mpids))callback;
86
87@end
88
89NS_ASSUME_NONNULL_END
AMapNaviCommonObj.h
AMapNaviDriveManager.h
AMapNaviRoute.h
AMapNaviRoute(AMLMpid)::isMpidRestoreRoute
BOOL isMpidRestoreRoute
Definition AMapNaviDriveManager+AMLMpid.h:19
AMapNaviDriveManager
Definition AMapNaviDriveManager.h:22
AMapNaviMpidOption
Definition AMapNaviMpidOption.h:14
AMapNaviMpidRestoreOption
mpid 还原参数
Definition AMapNaviMpidRestoreOption.h:21
AMapNaviRoute
Definition AMapNaviRoute.h:186
AMapNaviVehicleInfo
Definition AMapNaviCommonObj.h:1052
© 2017 高德信息技术有限公司 版权所有，保留所有权利。