IProgressReceiver Interface


AnIProgressReceiverĀ  is an object that can be used to report progress on network transfers. When specified on transfer operations, thereportProgressĀ  method will be called periodically with the total number of bytes transferred. The user may configure this method to report progress in whatever format desired. It is recommended that this type be used in conjunction with ProgressReporter#addProgressReporting(Flowable, IProgressReceiver).

public interface IProgressReceiver


reportProgress(long bytesTransferred)

The callback function invoked as progress is reported.

Applies to