BMSPushRichPushNotificationOptions
@available(iOS 10.0, *)
open class BMSPushRichPushNotificationOptions : UNNotificationServiceExtension
Class to Handle iOS10 Rich push notifications.
-
didReceive method is used inside notification extensions.
Declaration
Swift
open class func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void)
Parameters
request
pass the
UNNotificationRequest
from extensioncontentHandler
pass the
UNNotificationContent
from extension.