toggle menu
pspdfkit
PSPDFKit
switch theme
search in API
pspdfkit
/
com.pspdfkit.document.download
/
DownloadJob
/
ProgressListener
Progress
Listener
interface
ProgressListener
Definition of callback objects for observing downloads.
See also
set
Progress
Listener
Inheritors
ProgressListenerAdapter
Members
Functions
on
Complete
Link copied to clipboard
abstract
fun
onComplete
(
@
NonNull
output
:
File
)
Called when download successfully finished.
on
Error
Link copied to clipboard
abstract
fun
onError
(
@
NonNull
exception
:
Throwable
)
Called when an error occurred during download.
on
Progress
Link copied to clipboard
abstract
fun
onProgress
(
@
NonNull
progress
:
Progress
)
Called when download progressed.