T - The type of the returning data.public static interface D1Task.ConfigCallback<T>
| Modifier and Type | Method and Description |
|---|---|
void |
onError(List<D1Exception> exceptions)
The request failed while executing.
|
void |
onSuccess(T data)
The request has been successfully executed.
|
void onSuccess(T data)
data - Result value of the request.
This argument is always null.void onError(@NonNull
List<D1Exception> exceptions)
exceptions - The cause of failures.