Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangHaiYang01 committed May 23, 2020
1 parent 6261b30 commit 9d42d16
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ interface DownLoadProgressListener {
interface OnDownLoadListener : DownLoadProgressListener {


//等待下载
fun onDownLoadPrepare(key: String)

//进度
fun onDownLoadProgress(key: String, progress: Int)

//下载失败
fun onDownLoadError(key: String, throwable: Throwable)

//下载成功
fun onDownLoadSuccess(key: String, path: String)

//下载暂停
fun onDownLoadPause(key: String)

//下载取消
fun onDownLoadCancel(key: String)
}

0 comments on commit 9d42d16

Please sign in to comment.