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
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • observeProgress

        @NonNull() 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 COMPLETE if you don't want to provide progress updates.