Injector banner callback

A callback to handle events from banner campaigns.

It is not always suitable for you to cover the screen every time a banner is received. You can implement optional methods to control this.

Declared in

com.synerise.sdk.injector.callback.IBannerListener


The following method is called after a banner is loaded and the Synerise SDK asks for permission to show it.

- boolean shouldPresent(TemplateBanner banner);

Parameter Type Description
banner TemplateBanner Banner’s necessary data for building process

Call {@link com.synerise.sdk.injector.Injector#showBanner(TemplateBanner, boolean)} to create banner with provided data.


The following method is called after a banner appears.

- void onPresented();


The following method is called when a banner disappears.

- void onClosed();


😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker