| java.lang.Object | |
| ↳ | com.pspdfkit.document.download.DownloadJob.ProgressListenerAdapter |
An empty implementation of a DownloadJob.ProgressListener.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ProgressListenerAdapter() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
onComplete(File output)
Called when download successfully finished.
| ||||||||||
| void |
onError(Throwable exception)
Called when an error occurred during download.
| ||||||||||
| void |
onProgress(Progress progress)
Called when download progressed.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pspdfkit.document.download.DownloadJob.ProgressListener
| |||||||||||
Called when download successfully finished. This method is called on the main thread.
| output | Downloaded file on the local device filesystem. |
|---|
Called when an error occurred during download. This method is called on the main thread.
| exception | Exception containing the error reason. |
|---|
Called when download progressed. This method is called on the main thread.
| progress | Progress information for the running download. |
|---|