Package 

Interface HttpRequest.UploadProgress

    • Method Summary

      Modifier and Type Method Description
      abstract void onUpload(long uploaded, long total) Callback invoked as data is uploaded by the request.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onUpload

         abstract void onUpload(long uploaded, long total)

        Callback invoked as data is uploaded by the request.

        Parameters:
        uploaded - The number of bytes already uploaded
        total - The total number of bytes that will be uploaded or -1 ifthe length is unknown.