Class Progress
-
- All Implemented Interfaces:
public final class Progress
This class provides methods that allow the handling of progress events.
-
-
Method Summary
Modifier and Type Method Description static Source
sourceWithProgress(@NonNull() Source source, long sourceLength, @NonNull() ProgressListener progressListener)
Use this function to create a source that produces progress events. -
-
Method Detail
-
sourceWithProgress
@NonNull() static Source sourceWithProgress(@NonNull() Source source, long sourceLength, @NonNull() ProgressListener progressListener)
Use this function to create a source that produces progress events.
- Parameters:
source
- The original source.sourceLength
- The length of the source.progressListener
- The listener that will get progress updates.- Returns:
A new source that will provide progress events.
-
-
-
-