class DJITapFlyMissionEvent
@interface DJITapFlyMissionEvent : NSObject
Header: DJITapFlyMissionOperator.h Inherits From: NSObject
Description:
This class encapsulates all the state changes of the TapFly mission operator.
Class Members:
property previousState
@property (nonatomic , readonly ) DJITapFlyMissionState previousState
Header: DJITapFlyMissionOperator.h
Description:
The previous state of the operator.
See Also:
DJITapFlyMissionState
property currentState
@property (nonatomic , readonly ) DJITapFlyMissionState currentState
Header: DJITapFlyMissionOperator.h
Description:
The current state of the operator.
See Also:
DJITapFlyMissionState
property executionState
@property (nonatomic , readonly , nullable ) DJITapFlyExecutionState *executionState
Header: DJITapFlyMissionOperator.h
Description:
The detailed state of the executing TapFly mission. It is only valid when currentState
is one of the following: For the other states, it is nil
.
See Also:
DJITapFlyExecutionState
property error
@property (nonatomic , readonly , nullable ) NSError *error
Header: DJITapFlyMissionOperator.h
Description:
The encountered error if any. Otherwise, it is nil
.
enum DJITapFlyMissionState
typedef NS_ENUM (NSInteger , DJITapFlyMissionState)
Header: DJITapFlyMissionOperator.h
Description:
All the possible states of DJITapFlyMissionOperator
.
Enum Members:
DJITapFlyMissionStateUnknownThe state of the operator is unknown. This is the initial state when the operator is first created. DJITapFlyMissionStateDisconnectedThe connection between the mobile device and aircraft is broken. DJITapFlyMissionStateRecoveringThe connection between the mobile device and aircraft is recovering. In this state, the operator is synchronizing the state from the aircraft. DJITapFlyMissionStateNotSupportedThe connected product does not support TapFly mission. DJITapFlyMissionStateCannotStartThere is an existing error stopping the TapFly mission to start. Resolve persistentError
of DJITapFlyMissionOperator
to start a mission. DJITapFlyMissionStateReadyToStartThe operator is ready to start a TapFly mission. DJITapFlyMissionStateExecutingThe operator is executing a TapFly mission. DJITapFlyMissionStateExecutionPausedThe execution of the TapFly mission is paused. User can pause or resume a TapFly mission by pressing the pause button on the physical remote controller. DJITapFlyMissionStateExecutionResettingThe TapFly mission cannot continue the execution. The execution is being stopped automatically.