ReadonlychannelUnique identifier for this channel (e.g., "notification", "matter", "mqtt")
Cleanup and dispose of notification channel resources. Removes the native notification listener and clears all callbacks.
Initialize the notification channel. Sets up the global notification listener.
Subscribe to notification updates for a specific node or all nodes.
Function to call when notifications are received
OptionalnodeId: stringOptional node ID. If provided, only notifications for this node trigger the callback
Check if this channel supports a specific node. Notifications are generic and support all nodes.
The node to check support for (unused - notifications support all nodes)
Always returns true (notifications support all nodes)
Unsubscribe from notification updates for a specific node or all nodes.
OptionalnodeId: stringOptional node ID. If not provided, unsubscribes from all nodes
Subscription channel that wraps the existing notification adapter. Provides backward compatibility with the current push notification system.
This channel:
Example