Interface DownloadManagerListener
- All Known Implementing Classes:
DownloadImpl, DownloadManagerAdapter, FilesView, GlobalManagerImpl, GlobalManagerImpl.DownloadStateTagger, MyTorrentsSubView, MyTorrentsView, MyTorrentsView_Big, MyTorrentsView_Small, SBC_TorrentDetailsView
public interface DownloadManagerListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompletionChanged(DownloadManager manager, boolean bCompleted) Notification that the completion state has changed.voiddownloadComplete(DownloadManager manager) Notification that we were downloading and the download has completeddefault voidfileLocationChanged(DownloadManager download, DiskManagerFileInfo file) voidfilePriorityChanged(DownloadManager download, DiskManagerFileInfo file) voidpositionChanged(DownloadManager download, int oldPosition, int newPosition) voidstateChanged(DownloadManager manager, int state)
-
Method Details
-
stateChanged
-
downloadComplete
Notification that we were downloading and the download has completed -
completionChanged
Notification that the completion state has changed. Tells you when we switched from Completed to Incompleted (or visa versa) Does not get called when diskManager goes into CHECKING, but does when it goes out of CHECKING, to avoid torrents jumping momentarily from Completed to Incompleted to Completed again. -
positionChanged
-
filePriorityChanged
-
fileLocationChanged
- Parameters:
download-file- null - overall location change (e.g. move download)
-