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.
Declared In
SNRInjector.h
Declaration
NS_SWIFT_NAME(InjectorWalkthroughDelegate)
@protocol SNRInjectorWalkthroughDelegate
Methods
This method is called after a walkthrough is loaded.
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()