Asynchronously download.
Cancel the download.
Synchronously download. Events are still reported to listenersreturnthrowsResourceDownloaderException
Get a sensible name for the download based on its details (e.g. URL)return
attempts to get the size of the download. Returns -1 if the size can't be determinedreturnthrowsResourceDownloaderException