Package com.contentstack.sdk
Class FetchResultCallback
java.lang.Object
com.contentstack.sdk.ResultCallBack
com.contentstack.sdk.FetchResultCallback
public abstract class FetchResultCallback extends ResultCallBack
-
Constructor Summary
Constructors Constructor Description FetchResultCallback() -
Method Summary
Modifier and Type Method Description voidalways()abstract voidonCompletion(ResponseType responseType, Error error)Triggered after call execution complete.
-
Constructor Details
-
FetchResultCallback
public FetchResultCallback()
-
-
Method Details
-
onCompletion
Triggered after call execution complete.- Parameters:
responseType- call response from cache or network.error-Errorinstance if call failed else null.
-
always
public void always()- Specified by:
alwaysin classResultCallBack
-