bool NotificationListenerCallback(T notification)

Signature for Notification listeners.

Return true to cancel the notification bubbling. Return false to allow the notification to continue to be dispatched to further ancestors.

Used by NotificationListener.onNotification.