DJI Mobile SDK Documentation

      class UpdatedUploadStateCallback

      interface UpdatedUploadStateCallback
      Package:dji.sdk.flighthub
      Description:

      Updates current state of uploading flight data. In order to begin updates, call the onUpdate addUpdatedUploadStateCallback} method.

      Class Members:

      Callback Method

      Upload State
      method
      method onUpdate
      void onUpdate(@NonNull UploadState uploadState, @Nullable DJIError error)
      Package:dji.sdk.flighthub
      Description:

      Updates states for the uploading progress of flight data.

      Input Parameters:
      @NonNull UploadState uploadStateAn enum value of UploadState.
      @Nullable DJIError errorError when uploading data failed.