Interface TransferProgressCallback
- All Known Implementing Classes:
- LogProgressCallback
public interface TransferProgressCallback
The interface that is invoked during file upload/download transfers that enables client consumers to
inspect the progress of the transfer.
- 
Method SummaryModifier and TypeMethodDescriptionvoidonComplete(long bytesTransferred) Callback to notify consumers of a completed transfer.voidCallback to notify consumers of a failure during a transfer.voidonUpdate(long currentBytes, long totalBytes) Callback to notify consumers of the current amount of bytes that have transferred.
- 
Method Details- 
onUpdatevoid onUpdate(long currentBytes, long totalBytes) Callback to notify consumers of the current amount of bytes that have transferred.- Parameters:
- currentBytes- the current amount of accumulative bytes transferred thus far
- totalBytes- the total amount of bytes for the transfer
 
- 
onFailureCallback to notify consumers of a failure during a transfer.- Parameters:
- cause- the cause of the failure
 
- 
onCompletevoid onComplete(long bytesTransferred) Callback to notify consumers of a completed transfer.- Parameters:
- bytesTransferred- the total bytes transfered
 
 
-