public interface DownloadRequestCallback
A callback for the result of the download request.
-
Method Summary
| Modifier and Type |
Method |
Description |
void |
onFailure(java.lang.Throwable t) |
Called when a request failed.
|
void |
onSuccess() |
Called when a request completes successfully.
|
-
Method Details
-
void onSuccess()
Called when a request completes successfully.
-
void onFailure(java.lang.Throwable t)
Called when a request failed.
- Parameters:
t - The error containing the information about why the request failed.