NotificationResponse

A NotificationResponse object represents the result of a notification presented using a NotificationRequest being dismissed.

Properties

identifier

The identifier for the notification.

This property is readonly.

actionIdx

The index of the action that was chosen to dismiss the notification, in the same order as the actions property specified in the original notification request. If the notification was dismissed for another reason, such as the workspace closing, this value will may null or undefined.

This property is readonly.

textInputValue

The value entered by the user into the notification’s input field, for notifications of the appropriate type.

This property is readonly.