public static interface DownloadManager.Listener
Modifier and Type | Method and Description |
---|---|
void |
onCancelled()
Called when a download request set has been removed before if it was complete.
|
void |
onChanged(DownloadStatus status)
Called when the overall progress of the download request set has changed.
|
void |
onCompleted(DownloadStatus status)
Called when a download request set has been completed successfully
|
void |
onDeleted()
Called when a download request set has been removed after if it was complete.
|
void |
onFailed(DownloadStatus status)
Called when a download request set has failed.
|
void onChanged(@Nullable DownloadStatus status)
status
- the overall status of the download request set.void onCompleted(@Nullable DownloadStatus status)
status
- the overall status of the download request set.void onFailed(@Nullable DownloadStatus status)
status
- the overall status of the download request set.void onCancelled()
void onDeleted()