Package io.smooch.core
Interface SmoochCallback<T>
-
- Type Parameters:
T- the type of the data being returned
- All Known Implementing Classes:
StubbedCallback
public interface SmoochCallback<T>Callback used to be notified of the result of an asynchronous action
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSmoochCallback.Response<T>The response body passed into aSmoochCallbackto pass along information about the result of the action being performed
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrun(SmoochCallback.Response<T> response)Invoke theSmoochCallbackwith the results of the action
-
-
-
Method Detail
-
run
void run(SmoochCallback.Response<T> response)
Invoke theSmoochCallbackwith the results of the action- Parameters:
response- an instance ofSmoochCallback.Responsecontaining the results of the action
-
-