DJI Mobile SDK Documentation

      class TapFlyMissionEvent

      class TapFlyMissionEvent
      Package:dji.sdk.mission.tapfly
      Description:

      This class encapsulates all the state changes of the TapFly mission operator.

      Class Members:
      Previous State
      method
      method getPreviousState
      @Nullable
      TapFlyMissionState getPreviousState()
      Package:dji.sdk.mission.tapfly
      Description:

      The previous state of the operator.

      Return:
      TapFlyMissionStateA object of TapFlyMissionState.
      Current State
      method
      method getCurrentState
      @NonNull
      TapFlyMissionState getCurrentState()
      Package:dji.sdk.mission.tapfly
      Description:

      The current state of the operator.

      Return:
      TapFlyMissionStateA object of TapFlyMissionState.
      Execution State
      method
      method getExecutionState
      @Nullable
      TapFlyExecutionState getExecutionState()
      Package:dji.sdk.mission.tapfly
      Description:

      The detailed state of the executing TapFly mission. It is only valid when getCurrentState is one of the following:

      For the other states, it is null.

      Return:
      TapFlyExecutionStateA TapFlyExecutionState object.
      Error
      method
      method getError
      @Nullable
      DJIError getError()
      Package:dji.sdk.mission.tapfly
      Description:

      The encountered error if any. Otherwise, it is null.

      Return:
      DJIErrorA DJIError object.