DJI Mobile SDK Documentation

      class ActionUploadEvent

      interface ActionUploadEvent
      Package:dji.common.mission.waypointv2.Action
      Description:

      The upload event of a waypoint mission.

      Class Members:
      State
      method
      method getPreviousState
      @Nullable
      ActionState getPreviousState()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The previous state of the Action.

      Return:
      ActionStateAn object of ActionState.
      method getCurrentState
      @NonNull
      ActionState getCurrentState()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The current state of the Action.

      Return:
      ActionStateAn object of ActionState.
      method getProgress
      @Nullable
      ActionUploadProgress getProgress()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The upload progress of the mission. It is null if there is an error during upload.

      Return:
      ActionUploadProgressAn object of ActionUploadProgress.
      method
      method getError
      @Nullable
      DJIWaypointV2Error getError()
      Package:dji.common.mission.waypointv2.Action
      Description:

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

      Return:
      DJIWaypointV2ErrorAn object of DJIWaypointV2Error.