class DownloadManager
(source)
Handles the interactions with the AndroidDownloadManager.
DownloadManager(applicationContext: Context, onDownloadCompleted: OnDownloadCompleted = { _, _ -> })
Handles the interactions with the AndroidDownloadManager. |
var onDownloadCompleted: OnDownloadCompleted
a callback to be notified when a download is completed. |
fun download(download: Download, refererURL: String = "", cookie: String = ""): Long
Schedule a download through the AndroidDownloadManager. |
|
fun unregisterListener(): Unit
Remove all the listeners. |