Injector walkthrough callback
A callback to handle events from walkthrough campaigns.
When you choose to load and present a walkthrough manually, you may be interested in the following callback methods.
Declared In
com.synerise.sdk.injector.callback.IWalkthroughListener
The following method is called after a walkthrough is loaded.
- void onLoaded(WalkthroughResponse walkthrough);
Error when loading
The following method is called when an error occurs while loading a walkthrough.
- void onLoadingError(ApiError error);
Parameter | Type | Description |
---|---|---|
error |
ApiError |
The error that occurred |
Walkthrough displayed
The following method is called after a walkthrough appears.
- void onPresented();
Walkthrough closed
The following method is called after a walkthrough disappears.
- void onClosed();