Package com.pspdfkit.document.providers
Interface ProgressDataProvider
-
- All Implemented Interfaces:
public interface ProgressDataProvider
ProgressDataProvider is an interface which should be implemented by any DataProvider that should support providing document loading progress updates.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ProgressDataProvider.Companion
-
Method Summary
Modifier and Type Method Description abstract Flowable<Double>
observeProgress()
Returns an Flowable that emits values from 0 to 1 indicating the current loading progress of this document. -
-
Method Detail
-
observeProgress
abstract Flowable<Double> observeProgress()
Returns an Flowable that emits values from 0 to 1 indicating the current loading progress of this document. You can return ProgressDataProvider.COMPLETE if you don't want to provide progress updates.
-
-
-
-