public abstract class DownloadFileInterceptor extends Object implements okhttp3.Interceptor, DownloadFileProgressListener
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DownloadFileInterceptor.DownloadFileProgressResponseBody |
| 构造器和说明 |
|---|
DownloadFileInterceptor() |
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept 在接口中 okhttp3.InterceptorIOExceptionpublic abstract void updateProgress(long downloadLenth,
long totalLength,
boolean isFinish)
updateProgress 在接口中 DownloadFileProgressListenerCopyright © 2022. All rights reserved.