DLManager

class DLManager

By using DLManager, you can create a download task.

downloadTask = DLManager
.createConfig()
.setDownloadUrl(downloadUrl)
.setSaveDir(FileMgr.appInternalFilesDir().path)
.setListener {
onDownloading = {
.. //Do something
}
onFailure = {
.. //Do something
}
onSuccess = {
.. //Do something
}
}
.build()

Since

0.5.2

Constructors

Link copied to clipboard
internal constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard