-
public interface HttpRequest.UploadProgress
Callback interface for reporting upload progress for a request.
-
-
Method Summary
Modifier and Type Method Description abstract void
onUpload(long uploaded, long total)
Callback invoked as data is uploaded by the request. -
-
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 uploadedtotal
- The total number of bytes that will be uploaded or -1 ifthe length is unknown.
-
-
-
-