public static interface DownloadManager.Listener
DownloadManager events.| Modifier and Type | Method and Description |
|---|---|
void |
onIdle(DownloadManager downloadManager)
Called when there is no active task left.
|
void |
onInitialized(DownloadManager downloadManager)
Called when all actions have been restored.
|
void |
onTaskStateChanged(DownloadManager downloadManager,
DownloadManager.TaskState taskState)
Called when the state of a task changes.
|
void onInitialized(DownloadManager downloadManager)
downloadManager - The reporting instance.void onTaskStateChanged(DownloadManager downloadManager, DownloadManager.TaskState taskState)
downloadManager - The reporting instance.taskState - The state of the task.void onIdle(DownloadManager downloadManager)
downloadManager - The reporting instance.