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