Injector Banner Delegate

Overview


A delegate to handle events from banner campaigns.

Note: It’s 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

SNRInjector.h

Declaration

NS_SWIFT_NAME(InjectorBannerDelegate)
@protocol SNRInjectorBannerDelegate

Methods


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

func snr_shouldBannerAppear(bannerDictionary: [AnyHashable: Any]) -> Void

Parameter Type Description
bannerDictionary [AnyHashable: Any] Dictionary representation of the banner.

This method is called after a banner appears.

func snr_bannerDidAppear() -> Void


This method is called after a banner disappears.

func snr_bannerDidDisappear() -> Void

😕

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.