DJIMissionManagerDelegate
@protocol DJIMissionManagerDelegate <NSObject>
This protocol provides methods to check the mission execution status and result.
-
Mission execution finished callback.
Declaration
Objective-C
- (void)missionManager:(DJIMissionManager *_Nonnull)manager didFinishMissionExecution:(NSError *_Nullable)error;
Parameters
manager
Mission object.
error
Indicates whether the mission finished with an error.
-
Mission execution state update callback. Returns the current mission and status. For the waypoint mission, it will include the mission state, target waypoint index, waypoint execution state, and error if one occurred.
Declaration
Objective-C
- (void)missionManager:(DJIMissionManager *_Nonnull)manager missionProgressStatus:(DJIMissionProgressStatus *_Nonnull)missionProgress;
Parameters
manager
Mission object.
missionProgress
Mission progress object.