Package es.situm.sdk.utils
Interface Handler<T>
public interface Handler<T>
Interface to receive result of an async request
-
Field Summary
Fields -
Method Summary
-
Field Details
-
EMPTY_HANDLER
-
-
Method Details
-
onSuccess
Will be invoked if the request finished successfully- Parameters:
obtained- data to return
-
onFailure
Callback that is called in case any error happens
-