Synerise Delegate

A protocol to handle the main actions from Synerise SDK.

Note: If optional methods are not implemented, Synerise has a default behavior defined only for URL action - it is redirected to a browser.

Declared In

SNRSynerise.h

  • SNRSyneriseActivity
  • SNRSyneriseActivityCompletionHandler

The following method is called when registration for Push Notifications is needed.

- (void)SNR_registerForPushNotificationsIsNeeded

You need to invoke the Client.registerForPush(success:failure:) method again.


The following method is called when Synerise handles URL action from campaign activities.

- (void)SNR_handledActionWithURL:(NSURL *)url

Parameter Type Description
url NSURL URL address value from activity
Note: This method is invoked when the SNR_handledActionWithURL:activity:completionHandler: method is NOT implemented.

The following method is called when Synerise handles URL action from campaign activities.

- (void)SNR_handledActionWithURL:(NSURL *)url activity:(SNRSyneriseActivity)activity completionHandler:(SNRSyneriseActivityCompletionHandler)completionHandler

Parameter Type Description
url NSURL URL address value from activity
activity SNRSyneriseActivity Identifies Synerise Campaign activity (SNRSyneriseActivity)
completionHandler SNRSyneriseActivityCompletionHandler Block/Closure that should be invoked with SNRSyneriseActivityAction and a completion block to execute

The following method is called when Synerise handles deep link action from campaign activities.

- (void)SNR_handledActionWithDeepLink:(NSString *)deepLink

Parameter Type Description
deeplink String Literal text value from activity
Note: This method is invoked when the SNR_handledActionWithDeepLink:activity:completionHandler: method is NOT implemented.

The following method is called when Synerise handles deep link action from campaign activities.

- (void)SNR_handledActionWithDeepLink:(NSString *)deepLink activity:(SNRSyneriseActivity)activity completionHandler:(SNRSyneriseActivityCompletionHandler)completionHandler

Parameter Type Description
deeplink String Literal text value from activity
activity SNRSyneriseActivity Identifies Synerise Campaign activity (SNRSyneriseActivity)
completionHandler SNRSyneriseActivityCompletionHandler Block/Closure that should be invoked with SNRSyneriseActivityAction and a completion block to execute

😕

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.