NotificationDelegate
public class NotificationDelegate : NSObject, UNUserNotificationCenterDelegate
Handles push notification presentation and user interaction for the Kindly SDK.
Set as UNUserNotificationCenter.current().delegate to let the SDK process Kindly notifications.
-
Undocumented
Declaration
Swift
public func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) -
Undocumented
Declaration
Swift
public func userNotificationCenter(_ center: UNUserNotificationCenter, didReceive response: UNNotificationResponse, withCompletionHandler completionHandler: @escaping () -> Void)
View on GitHub