T - The return typepublic interface ApiCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onDownloadProgress(long bytesRead,
long contentLength,
boolean done) |
void |
onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders) |
void |
onSuccess(T result,
int statusCode,
Map<String,List<String>> responseHeaders) |
void |
onUploadProgress(long bytesWritten,
long contentLength,
boolean done) |
void onFailure(ApiException e, int statusCode, Map<String,List<String>> responseHeaders)
void onUploadProgress(long bytesWritten,
long contentLength,
boolean done)
void onDownloadProgress(long bytesRead,
long contentLength,
boolean done)
Copyright © 2017. All rights reserved.