DJI Mobile SDK Documentation

      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:
      Previous State
      property
      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

      Current State
      property
      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.

      Error
      property
      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:
      DJIFollowMeMissionStateUnknownThe state of the operator is unknown. It is the initial state when the operator is just created.
      DJIFollowMeMissionStateDisconnectedThe connection between the mobile device and aircraft is lost.
      DJIFollowMeMissionStateNotSupportedThe connected product does not support Follow Me mission.
      DJIFollowMeMissionStateRecoveringThe connection between the mobile device and aircraft is built-up. The operator is synchronizing the state from the aircraft.
      DJIFollowMeMissionStateReadyToStartThe operator is ready to start a Follow Me mission.
      DJIFollowMeMissionStateExecutingThe mission execution is started successfully.