public abstract class DownloadFileCallback extends Callback
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
DownloadFileCallback() |
DownloadFileCallback(String fileAbsolutePath) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onResponse(okhttp3.Call call,
Response response,
int id) |
void |
onSuccess(okhttp3.Call call,
File file,
int id) |
void |
onSuccess(okhttp3.Call call,
InputStream fileStream,
int id) |
public DownloadFileCallback()
public DownloadFileCallback(String fileAbsolutePath)
public void onResponse(okhttp3.Call call,
Response response,
int id)
onResponse 在类中 Callbackpublic void onSuccess(okhttp3.Call call,
File file,
int id)
public void onSuccess(okhttp3.Call call,
InputStream fileStream,
int id)
Copyright © 2019. All rights reserved.