FacadeConnectorLocalNotificationProtocol
@objc
public protocol FacadeConnectorLocalNotificationProtocol
Undocumented
-
Cancel previously scheduled Local Notifications
Declaration
Swift
func cancelLocalNotifications(_ identifiers: [String]?, completion: @escaping (_ scheduled: Bool, _ error: Error?) -> Void)Parameters
identifiersArray of identifiers to cancel
completionCompletion handler when task will be finished
-
Schedule Local Notification task
Declaration
Swift
func presentLocalNotification(_ payload: [AnyHashable : Any], completion: @escaping (_ scheduled: Bool, _ error: Error?) -> Void)Parameters
payloadDictionary that contains data for creation Local Notification
completionCompletion handler when task will be finished