Notification extensions

NotificationServiceExtension

Declared In

SNRNotificationServiceExtension.h

Inherits From

NSObject

Declaration

class NotificationServiceExtension: BaseModel

Methods

Enables/disables console logs from NotificationServiceExtension.

static func setDebugModeEnabled(_: Bool)


Sets a fallback title and body for notification alert when decryption fails.

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


Provides notification for processing by the SDK.

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


Passes notification for processing by the SDK when the extension is terminated by the system.

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



SingleMediaNotificationContentExtensionViewController

Declared In

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

SNRCarouselContentExtensionViewController.h

Inherits From

UIViewController

Declaration

class CarouselContentExtensionViewController: 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))

😕

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