Contents

init(sourceIdentifier:notificationIdentifier:actionIdentifier:userText:)

Initializes a notification response with the given identifiers and optional user text.

Declaration

init(sourceIdentifier: String, notificationIdentifier: String, actionIdentifier: String, userText: String?)

Parameters

  • sourceIdentifier:

    The bundle identifier of the app that sent the notification.

  • notificationIdentifier:

    The identifier for the notification.

  • actionIdentifier:

    The identifier for the action taken.

  • userText:

    Optional text provided by the person.