Class InstantProgress

  • All Implemented Interfaces:

    
    public final class InstantProgress
    
                        

    Object representing instant document download or annotations sync progress.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final int currentProgress
    • Constructor Summary

      Constructors 
      Constructor Description
      InstantProgress(int currentProgress, boolean isInFinalState) Creates a download progress object.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int getCurrentProgress() Returns the current progress of the reporter as a percentage between [0, 100].
      boolean isCompleted() Whether or not the progress reporter has reached a final state.
      int hashCode()
      boolean equals(Object o)
      String toString()
      • Methods inherited from class java.lang.Object

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

      • InstantProgress

        InstantProgress(int currentProgress, boolean isInFinalState)
        Creates a download progress object.
        Parameters:
        currentProgress - The current progress of the reporter as a percentage between [0, 100].
        isInFinalState - Whether final state has been reached.