Interface ProgressCallback


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

      • 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