Interface ProgressReporter


  • public interface ProgressReporter
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onProgress​(long completed, long total)
      Notification to indicate that progress was made during an upload operation.
    • Method Detail

      • onProgress

        void onProgress​(long completed,
                        long total)
        Notification to indicate that progress was made during an upload operation.

        Note that the completed value may decrease from one invocation to the next if any part of the upload to to be retried.

        Parameters:
        completed - The number of bytes that have been already been uploaded for this operation.
        total - The total number of bytes to upload for this operation.