Closed tobiasrohloff closed 5 years ago
Thanks for your issues. All the state is in callback, so why you want to fetch the download state manually. This is just to make downloader simple and easy.
There are a lot of use cases, e.g. to fetch if a download is running or already finished.
onStart and onSuccess is enough.
Not if I have to fetch the state later on demand. Therefore, I have to keep the state in another collection on the application-side at the moment.
The
DownloadManager
provides the convenience methodsDownloadState query(int downloadId)
andDownloadState query(String url)
. Is there any technical reason who those are not available as public API? Or just a design choice? Would be nice to fetch the download state.