Notify.Notification.prototype.get_closed_reason

function get_closed_reason(): Number(gint) {
    // Gjs wrapper for notify_notification_get_closed_reason()
}
  

Returns the closed reason code for the notification. This is valid only after the "closed" signal is emitted.

Returns

The closed reason code.