class DJIFollowMeMissionEvent
@interface DJIFollowMeMissionEvent : NSObject
|
| Header: | DJIFollowMeMissionOperator.h |
| Inherits From: | NSObject |
Description:
This class encapsulates all the state change of the Follow Me mission operator.
Class Members:
property previousState
@property (nonatomic, readonly) DJIFollowMeMissionState previousState
|
| Header: | DJIFollowMeMissionOperator.h |
Description:
The previous follow me mission state, check the DJIFollowMeMissionState enum value.
See Also:
DJIFollowMeMissionState
property currentState
@property (nonatomic, readonly) DJIFollowMeMissionState currentState
|
| Header: | DJIFollowMeMissionOperator.h |
Description:
The current follow me mission state, check the DJIFollowMeMissionState enum value.
See Also:
DJIFollowMeMissionState
Distance to Coordinate
property
property distanceToFollowMeCoordinate
@property (nonatomic, readonly) float distanceToFollowMeCoordinate
|
| Header: | DJIFollowMeMissionOperator.h |
Description:
The distance in meters between the aircraft and the Follow Me coordinate. When there is no executing mission, it is 0.0.
property error
@property (nonatomic, readonly, nullable) NSError *error
|
| Header: | DJIFollowMeMissionOperator.h |
Description:
The encountered error if there is any. Otherwise, it is nil.
enum DJIFollowMeMissionState
typedef NS_ENUM(NSInteger, DJIFollowMeMissionState)
|
| Header: | DJIFollowMeMissionOperator.h |
Description:
All the possible state of DJIFollowMeMissionOperator.
Enum Members:
| DJIFollowMeMissionStateUnknown | The state of the operator is unknown. It is the initial state when the operator is just created. |
| DJIFollowMeMissionStateDisconnected | The connection between the mobile device and aircraft is lost. |
| DJIFollowMeMissionStateNotSupported | The connected product does not support Follow Me mission. |
| DJIFollowMeMissionStateRecovering | The connection between the mobile device and aircraft is built-up. The operator is synchronizing the state from the aircraft. |
| DJIFollowMeMissionStateReadyToStart | The operator is ready to start a Follow Me mission. |
| DJIFollowMeMissionStateExecuting | The mission execution is started successfully. |