Interface ProgressCallback


public interface ProgressCallback
Defines a callback for network operations.
  • Method Summary

    Modifier and Type Method Description
    void onProgress​(long bytesUploaded, long totalBytes)
    Invoked during network operation.
  • Method Details

    • onProgress

      void onProgress​(long bytesUploaded, long totalBytes)
      Invoked during network operation.
      Parameters:
      bytesUploaded - the number of bytes uploaded so far
      totalBytes - the total number of byte to upload - if known