public final class

InstantProgress

extends Object
java.lang.Object
   ↳ com.pspdfkit.instant.client.InstantProgress

Class Overview

Object representing instant document download or annotations sync progress.

Summary

Public Constructors
InstantProgress(int currentProgress, boolean isInFinalState)
Creates a download progress object.
Public Methods
boolean equals(Object o)
int getCurrentProgress()
Returns the current progress of the reporter as a percentage between [0, 100].
int hashCode()
boolean isCompleted()
Whether or not the progress reporter has reached a final state.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public 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.

Public Methods

public boolean equals (Object o)

public int getCurrentProgress ()

Returns the current progress of the reporter as a percentage between [0, 100].

public int hashCode ()

public boolean isCompleted ()

Whether or not the progress reporter has reached a final state.

public String toString ()