13NS_ASSUME_NONNULL_BEGIN
15@interface AMapNaviRoute (AMLMpid)
24@protocol AMapNaviMpidDelegate <NSObject>
30- (void)driveManager:(
AMapNaviDriveManager *)manager onRestoreMpidFailure:(NSInteger)mpidErrorCode;
39@interface AMapNaviDriveManager (AMLMpid)
42@property (nonatomic,assign) BOOL allowReRouteWhenMpidFail;
45@property (nonatomic,weak,nullable) id<AMapNaviMpidDelegate> mpidDelegate;
49- (void)setMpid:(NSString *)mpid __attribute((deprecated("已废弃 since10.3.0 use setMpidRestoreOption: instead 该接口设置mpid只支持货车")));
54- (void)setMpid:(NSString *)mpid vehicleInfo:(
AMapNaviVehicleInfo *)vehicleInfo __attribute((deprecated("已废弃 use setMpidRestoreOption: instead 该接口设置mpid只支持货车")));
58- (void)clearMpid __attribute((deprecated("已废弃 since10.3.0 use clearMpidRestoreOption instead")));
71- (void)clearMpidRestoreOption;
83- (void)getMpidWithNaviRoutes:(NSArray<
AMapNaviRoute*> *)routes
85 andCallback:(nonnull
void (^)( NSError * _Nullable error, NSArray<NSString*> * _Nullable mpids))callback;
BOOL isMpidRestoreRoute
Definition AMapNaviDriveManager+AMLMpid.h:19
Definition AMapNaviDriveManager.h:22
Definition AMapNaviMpidOption.h:14
mpid 还原参数
Definition AMapNaviMpidRestoreOption.h:21
Definition AMapNaviRoute.h:186
Definition AMapNaviCommonObj.h:1052