Package com.brightcove.player.network
Interface DownloadManager.Listener
- Enclosing class:
- DownloadManager
public static interface DownloadManager.Listener
A listener that can be used to callback notifications about download requests.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 successfullyvoid
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.
-
Method Details
-
onChanged
Called when the overall progress of the download request set has changed.- Parameters:
status
- the overall status of the download request set.
-
onCompleted
Called when a download request set has been completed successfully- Parameters:
status
- the overall status of the download request set.
-
onFailed
Called when a download request set has failed.- Parameters:
status
- the overall status of the download request set.
-
onCancelled
void onCancelled()Called when a download request set has been removed before if it was complete. -
onDeleted
void onDeleted()Called when a download request set has been removed after if it was complete.
-