Package-level declarations

Types

Link copied to clipboard
data class DLBean(val url: String, val file: File, val md5: String? = null, val startPos: Long? = null, val endPos: Long? = null, var completeSize: Long = startPos ?: 0L, var event: DLEvent = DLEvent.INIT)

The download bean.

Link copied to clipboard
sealed class DLEvent

The event of the download.

Link copied to clipboard

The listener of the DLEvent for the download.

Link copied to clipboard
class DLManager

By using DLManager, you can create a download task.

Link copied to clipboard
class DLTask(val dlBean: DLBean, val listener: DLEventListener) : Callback

Download task.