DLBean

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.

Since

0.5.2

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
val endPos: Long? = null
Link copied to clipboard
Link copied to clipboard
val file: File
Link copied to clipboard
val md5: String? = null
Link copied to clipboard
val startPos: Long? = null
Link copied to clipboard
val url: String

The url of the download file.