finish the multi thread down load func and wait to test

This commit is contained in:
zhongchao
2022-03-22 21:57:26 +08:00
parent b28c3ab3cd
commit 22adb762c3
16 changed files with 396 additions and 175 deletions

View File

@@ -0,0 +1,32 @@
package com.mogo.eagle.core.function.api.devatools
interface IMogoDevaToolsUpgradeListener {
/**
* 开始下载
*/
fun onStart(url: String?)
/**
* 暂停回调
*/
fun onPause(url: String?)
/**
* 下载进度
*
* @param length
*/
fun onProgress(url: String?, length: Int)
/**
* 线程下载完毕
*/
fun onFinished(url: String?)
/**
* 错误信息回调
* @param errorMsg
*/
fun onError(url: String?, errorMsg: String?)
}