| com.pspdfkit.document.download.DownloadJob.ProgressListener |
Known Indirect Subclasses
|
Definition of callback objects for observing downloads.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onComplete(File output)
Called when download successfully finished.
| ||||||||||
| abstract void |
onError(Throwable exception)
Called when an error occurred during download.
| ||||||||||
| abstract void |
onProgress(Progress progress)
Called when download progressed.
| ||||||||||
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. |
|---|