DownloadCallback

Functions

Link copied to clipboard
abstract fun onCancel()
取消
Link copied to clipboard
abstract fun onError(e: Exception)
错误
Link copied to clipboard
abstract fun onFinish(file: File)
完成
Link copied to clipboard
abstract fun onProgress(progress: Long, total: Long)
加载进度…
Link copied to clipboard
abstract fun onStart(url: String)
开始