Notification extensions
NotificationServiceExtension
Declared In
SNRNotificationServiceExtension.h
Inherits From
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
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
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))