DJI Mobile SDK Documentation

      class PanoramaMissionEvent

      @EXClassNullAway
      class PanoramaMissionEvent
      Package:dji.common.mission.panorama
      Description:

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

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

      The previous state of the operator.

      Return:
      PanoramaMissionStateAn object of PanoramaMissionState.
      Current State
      method
      method getCurrentState
      @NonNull
      PanoramaMissionState getCurrentState()
      Package:dji.common.mission.panorama
      Description:

      The current state of the operator.

      Return:
      PanoramaMissionStateAn object of PanoramaMissionState.
      Status
      method
      method getExecutionState
      @Nullable
      PanoramaMissionExecutionState getExecutionState()
      Package:dji.common.mission.panorama
      Description:

      The detailed state of the executing Panorama mission. It is only valid when getCurrentState is EXECUTING. For the other states, it is null.

      Return:
      PanoramaMissionExecutionStateAn object of PanoramaMissionExecutionState.
      Error
      method
      method getError
      @Nullable
      DJIError getError()
      Package:dji.common.mission.panorama
      Description:

      The error of DJIPanoramaMissionEvent.

      Return:
      DJIErrorAn object of DJIError.