Interface ResourceDownloaderListener
- All Known Implementing Classes:
ResourceDownloaderAdapter, ResourceDownloaderAlternateImpl, ResourceDownloaderMetaRefreshImpl, ResourceDownloaderRetryImpl, ResourceDownloaderTimeoutImpl, ResourceDownloaderTorrentImpl, SFPluginDetailsLoaderImpl, UpdateAutoDownloader, UpdateWindow, UPnPImpl
public interface ResourceDownloaderListener
-
Method Summary
Modifier and TypeMethodDescriptionbooleancompleted(ResourceDownloader downloader, InputStream data) voidfailed(ResourceDownloader downloader, ResourceDownloaderException e) voidreportActivity(ResourceDownloader downloader, String activity) voidreportAmountComplete(ResourceDownloader downloader, long amount) voidreportPercentComplete(ResourceDownloader downloader, int percentage)
-
Method Details
-
reportPercentComplete
-
reportAmountComplete
-
reportActivity
-
completed
- Parameters:
downloader-data-- Returns:
- return true if the completed download is OK. If false is returned then if there are alternative download sources they will be tried. If there are no other sources then the download will be "failed"
-
failed
-