Notification extensions

NotificationServiceExtension

Declared In:
Headers/SNRNotificationServiceExtension.h

Inherits From:
NSObject

Declaration:

class NotificationServiceExtension: BaseModel

Methods:

This method enables or disables console logs from NotificationServiceExtension.

static func setDebugModeEnabled(_: Bool)


This method sets a fallback title and body for notification alert when decryption fails.

static func setDecryptionFallbackNotificationTitleAndBody(title: String, body: String)


This method passes notification for processing by the SDK.

static func didReceiveNotificationExtensionRequest(_: UNNotificationRequest, withMutableNotificationContent: UNMutableNotificationContent)


This method passes notification for processing by the SDK when the extension is terminated by the system.

static func serviceExtensionTimeWillExpireRequest(_: UNNotificationRequest, withMutableNotificationContent: UNMutableNotificationContent)



SingleMediaNotificationContentExtensionViewController

Declared In:
Headers/SNRSingleMediaContentExtensionViewController.h

Inherits From:
UIViewController

Declaration:

class SingleMediaContentExtensionViewController: UIViewController

Methods: Sets a notification to generate a view.

func setSyneriseNotification(_: UNNotification)


Passes a notification response to interact with a view.

func setSyneriseNotificationResponse(_: UNNotificationResponse, completionHandler: ((UNNotificationContentExtensionResponseOption) -> Void))



CarouselNotificationContentExtensionViewController

Declared In:
Headers/SNRCarouselContentExtensionViewController.h

Inherits From:
UIViewController

Declaration:

class CarouselContentExtensionViewController: UIViewController

Methods:

This method sets a notification to generate a view.

func setSyneriseNotification(_: UNNotification)


This method passes a notification response to interact with a view.

func setSyneriseNotificationResponse(_: UNNotificationResponse, completionHandler: ((UNNotificationContentExtensionResponseOption) -> 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.

Close modal icon Placeholder alt for modal to satisfy link checker