Injector Walkthrough Delegate

Overview


A delegate to handle events from walkthrough campaigns.

When you choose to load and present a walkthrough manually, you may be interested in the following delegate methods.

Note: All these methods are optional and implementing them is not required. They are also called when a walkthrough was loaded automatically.

Declared In

SNRInjector.h

Declaration

NS_SWIFT_NAME(InjectorWalkthroughDelegate)
@protocol SNRInjectorWalkthroughDelegate

Methods


This method is called after a walkthrough is loaded.

Note: This method will be invoked when the snr_walkthroughDidLoad(walkthroughDictionary: [AnyHashable: Any]) method is not implemented.
func snr_walkthroughDidLoad()

This method is called after a walkthrough is loaded.

func snr_walkthroughDidLoad(walkthroughDictionary: [AnyHashable: Any])

Parameter Type Description
walkthroughDictionary [AnyHashable: Any] Dictionary representation of the walkthrough.

This method is called when an error occurs while loading a walkthrough.

func snr_walkthroughLoadingError(error: Error)

Parameter Type Description
error NSError The error that occurred.

This method is called after a walkthrough appears.

func snr_walkthroughDidAppear()


This method is called after a walkthrough disappears.

func snr_walkthroughDidDisappear()

😕

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