Interface ProgressRunnable
public interface ProgressRunnable
Runnable to update the progress of an operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(long read, long total, double progress, double speed) Informs of progress
-
Method Details
-
run
void run(long read, long total, double progress, double speed) Informs of progress- Parameters:
read- Bytes readtotal- Total bytes to readprogress- Progress in percentagespeed- Download speed in bytes per millisecond
-