public interface MultiThreadListener
void onStart(long totalBytes)
totalBytes - 总大小void onProgress(long totalBytes,
long downloadedBytes)
totalBytes - 总大小downloadedBytes - 已下载大小void onFinish()
<T extends Exception> void onFailure(T e)
T - 异常类型e - 异常Copyright © 2024. All rights reserved.