DJI Mobile SDK Documentation

      class ActiveTrackMissionEvent

      @EXClassNullAway
      class ActiveTrackMissionEvent
      Package:dji.common.mission.activetrack
      Description:

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

      Class Members:
      Previous State
      method
      method getPreviousState
      @Nullable ActiveTrackState getPreviousState()
      Package:dji.common.mission.activetrack
      Description:

      The previous state of the operator.

      Return:
      @Nullable ActiveTrackStateAn object of ActiveTrackState.
      Current State
      method
      method getCurrentState
      @Nullable ActiveTrackState getCurrentState()
      Package:dji.common.mission.activetrack
      Description:

      The current state of the operator.

      Return:
      @Nullable ActiveTrackStateAn object of ActiveTrackState.
      Tracking State
      method
      method getTrackingState
      @Nullable ActiveTrackTrackingState getTrackingState()
      Package:dji.common.mission.activetrack
      Description:

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

      For the other states, it is null.

      Return:
      @Nullable ActiveTrackTrackingStateAn object of ActiveTrackTrackingState.
      Error
      method
      method getError
      @Nullable DJIError getError()
      Package:dji.common.mission.activetrack
      Description:

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

      Return:
      @Nullable DJIErrorAn error of DJIError.