Notification Service Extension Delegate
Overview
A delegate to handle events from Notification Extension Service.
Note: Notification Service Extension Delegate is available since SDK 4.0.0 version.
Declared In
SNRNotificationServiceExtension.h
Declaration
NS_SWIFT_NAME(NotificationServiceExtensionDelegate)
@protocol SNRNotificationServiceExtensionDelegate
Methods
This method is called when the decryption process fails.
func notificationServiceExtensionDidFailDecryptionWithError(_: Error)
Parameter | Type | Description |
---|---|---|
error | NSError |
The error that occurred |
This method is called when the processing notification operation fails.
func notificationServiceExtensionDidFailProcessingWithError(_: Error)
Parameter | Type | Description |
---|---|---|
error | NSError |
The error that occurred |