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

    identifiers

    Array of identifiers to cancel

    completion

    Completion 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

    payload

    Dictionary that contains data for creation Local Notification

    completion

    Completion handler when task will be finished