13NS_ASSUME_NONNULL_BEGIN
15@interface AMapNaviRoute (AMLMpid)
25@protocol AMapNaviMpidDelegate <NSObject>
33- (void)driveManager:(
AMapNaviDriveManager *)manager onRestoreMpidFailure:(NSInteger)mpidErrorCode;
43@interface AMapNaviDriveManager (AMLMpid)
47@property (nonatomic,assign) BOOL allowReRouteWhenMpidFail;
51@property (nonatomic,weak,nullable) id<AMapNaviMpidDelegate> mpidDelegate;
57- (void)setMpid:(NSString *)mpid __attribute((deprecated("Abandoned since10.3.0 using setMpidRestoreOption: Instead. This interface is set to support only trucks for mpid")));
65- (void)setMpid:(NSString *)mpid vehicleInfo:(
AMapNaviVehicleInfo *)vehicleInfo __attribute((deprecated("Abandoned use setMpidRestoreOption: Instead. This interface sets mpid to only support trucks")));
71- (void)clearMpid __attribute((deprecated("Abandoned since10.3.0 using clearMpidRestoreOption instead")));
90- (void)clearMpidRestoreOption;
106- (void)getMpidWithNaviRoutes:(NSArray<
AMapNaviRoute*> *)routes
108 andCallback:(nonnull
void (^)( NSError * _Nullable error, NSArray<NSString*> * _Nullable mpids))callback;
BOOL isMpidRestoreRoute
Definition AMapNaviDriveManager+AMLMpid.h:20
Definition AMapNaviDriveManager.h:22
Definition AMapNaviMpidOption.h:14
Definition AMapNaviMpidRestoreOption.h:23
Definition AMapNaviRoute.h:186
Definition AMapNaviCommonObj.h:1054