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 TypeMethodDescriptionvoidCalled when a download request set has been removed before if it was complete.voidonChanged(DownloadStatus status) Called when the overall progress of the download request set has changed.voidonCompleted(DownloadStatus status) Called when a download request set has been completed successfullyvoidCalled when a download request set has been removed after if it was complete.voidonFailed(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.
-