Package com.thalesgroup.gemalto.d1
Interface D1Task.ConfigCallback<T>
-
- Type Parameters:
T
- The type of the returning data.
- Enclosing class:
- D1Task
public static interface D1Task.ConfigCallback<T>
Configuration callback to return result of an asynchronous call.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(List<D1Exception> exceptions)
The request failed while executing.void
onSuccess(T data)
The request has been successfully executed.
-
-
-
Method Detail
-
onSuccess
void onSuccess(@Nullable T data)
The request has been successfully executed.- Parameters:
data
- The result of the request. This argument is always null.
-
onError
void onError(@NonNull List<D1Exception> exceptions)
The request failed while executing.- Parameters:
exceptions
- The cause of the failures.
-
-