R - Expected data type, should be File or byte[]public interface DownloadCallback<R>
| Modifier and Type | Method and Description |
|---|---|
void |
onFail(java.lang.Exception e)
Calls when something goes wrong.
|
void |
onSuccess(R result)
Calls when everything was done without issues.
|
void onSuccess(R result)
result - void onFail(java.lang.Exception e)
e - Exception describes what was wrong during authorization.