DJI Mobile SDK Documentation

      class WaypointV2MissionUploadEvent

      interface WaypointV2MissionUploadEvent
      Package:dji.common.mission.waypointv2
      Description:

      The upload event of a waypoint mission.

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

      The previous state of the operator.

      Return:
      WaypointV2MissionStateAn enum value of the WaypointV2MissionState.
      Current State
      method
      method getCurrentState
      @NonNull
      WaypointV2MissionState getCurrentState()
      Package:dji.common.mission.waypointv2
      Description:

      The current state of the operator.

      Return:
      WaypointV2MissionStateAn enum value of the WaypointV2MissionState.
      Progress
      method
      method getProgress
      @Nullable
      WaypointV2UploadProgress getProgress()
      Package:dji.common.mission.waypointv2
      Description:

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

      Return:
      WaypointV2UploadProgressAn object of the WaypointV2UploadProgress.
      Error
      method
      method getError
      @Nullable
      DJIWaypointV2Error getError()
      Package:dji.common.mission.waypointv2
      Description:

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

      Return:
      DJIWaypointV2ErrorAn object of the DJIWaypointV2Error.