Whether Do Not Disturb mode is enabled (suppresses popups).
Check if service has been disposed
All stored notifications.
Notifications currently shown as popups.
Creates a Binding for a property on this service.
The property to bind
A Binding that can be used in widget constructors
Notifies listeners that a property changed and emits the 'changed' signal.
The property name that changed
ReadonlyclearCloses all notifications with a staggered delay between each.
D-Bus Clear method: closes all notifications.
Closes and removes a notification entirely.
The notification ID to close
Connects a callback to a signal on this service.
The signal name (defaults to 'changed')
The callback to invoke when the signal is emitted
The signal connection ID
Creates an incremental list binding that reuses existing widgets.
Instead of recreating all widgets on every update, this method caches widgets by a key function and only creates new widgets for new items, destroying widgets for removed items.
A Binding that produces an array of widgets
ProtecteddisconnectClean up all tracked signal connections Call this in service-specific dispose implementations
Dismisses a notification popup without removing it.
The notification ID to dismiss
Dispose of service resources Override in subclasses to add specific cleanup
Emits a signal, warning if the signal was not registered via Service.register.
The warning is cheap (a Set lookup per emit) and helps catch typos
and missing signal declarations that silently break .bind().
Returns the list of capabilities supported by this notification daemon.
ReadonlygetRetrieves a notification by its ID.
The notification ID
The Notification or undefined
ReadonlygetRetrieves a notification by ID only if it is currently a popup.
The notification ID
The Notification if it is a popup, otherwise null
Returns server name, vendor, version, and spec version as a D-Bus variant.
Invokes an action on a notification.
The notification ID
The action identifier to invoke
D-Bus Notify method handler: creates or replaces a notification.
ProtectedretryProtectedtrackTrack a signal connection for automatic cleanup
The object the signal is connected to (defaults to this)
The signal connection ID
Track a signal connection for automatic cleanup
The signal connection ID
Updates a property value and emits a notify signal if the value changed.
Performs a deep equality check via JSON serialization to avoid unnecessary notifications.
The property name in kebab-case
The new value
StaticimportStaticpspecStaticregisterPersist actions in cache (default: false)
Delay between closing notifications (default: 100ms)
Override application timeout (default: false)
Default popup timeout in milliseconds (default: 3000)
Notifications Service
Freedesktop Notifications daemon service that receives, stores, and manages desktop notifications.
Lifecycle:
Fires
notified - Emitted when new notification is received (id: number)
Fires
dismissed - Emitted when notification popup is dismissed (id: number)
Fires
closed - Emitted when notification is closed (id: number)
Fires
changed - Emitted when notification state changes