UpdateCallback

interface UpdateCallback

更新回调接口

Author

Jenly Jenly

Inheritors

Functions

Link copied to clipboard
abstract fun onCancel()
取消
Link copied to clipboard
abstract fun onDownloading(isDownloading: Boolean)
最开始调用(在onStart之前调用)
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, isChanged: Boolean)
更新进度
Link copied to clipboard
abstract fun onStart(url: String)
开始