class DJIHotpointMissionEvent
@interface DJIHotpointMissionEvent : NSObject
|
Header: | DJIHotpointMissionOperator.h |
Inherits From: | NSObject |
Description:
This class encapsulates all the state changes of the Hotpoint mission operator.
Class Members:
property previousState
@property (nonatomic, readonly) DJIHotpointMissionState previousState
|
Header: | DJIHotpointMissionOperator.h |
Description:
The previous state of the operator.
See Also:
DJIHotpointMissionState
property currentState
@property (nonatomic, readonly) DJIHotpointMissionState currentState
|
Header: | DJIHotpointMissionOperator.h |
Description:
The current state of the operator.
See Also:
DJIHotpointMissionState
property radius
@property (nonatomic, readonly) float radius
|
Header: | DJIHotpointMissionOperator.h |
Description:
The Hotpoint radius in meters of the mission. If there is no executing mission, it is 0.
property maxAngularVelocity
@property (nonatomic, readonly) float maxAngularVelocity
|
Header: | DJIHotpointMissionOperator.h |
Description:
The Hotpoint max angular velocity from current radius.
property error
@property (nonatomic, readonly, nullable) NSError *error
|
Header: | DJIHotpointMissionOperator.h |
Description:
The encountered error if there is any. Otherwise, it is nil
.
enum DJIHotpointMissionState
typedef NS_ENUM(NSInteger, DJIHotpointMissionState)
|
Header: | DJIHotpointMissionOperator.h |
Description:
States of DJIHotpointMissionOperator
.
Enum Members:
DJIHotpointMissionStateUnknown | The state of the operator is unknown. This is the initial state when the operator has just been created. |
DJIHotpointMissionStateDisconnected | The connection between the mobile device and aircraft is broken. |
DJIHotpointMissionStateRecovering | The connection between the mobile device and aircraft is recovering. At this time, the operator is synchronizing the state from the aircraft. |
DJIHotpointMissionStateNotSupported | The connected product does not support Hotpoint mission. |
DJIHotpointMissionStateReadyToStart | The operator is ready to start a Hotpoint mission. |
DJIHotpointMissionStateExecutingInitialPhase | The aircraft is moving towards the start point of the Hotpoint mission. |
DJIHotpointMissionStateExecuting | The execution is started successfully. |
DJIHotpointMissionStateExecutionPaused | Hotpoint mission is paused successfully. User can call resumeMissionWithCompletion to continue the execution. |