bool NotificationListenerCallback(T notification)

Signature for Notification listeners.

Return true to cancel the notification bubbling.

Used by NotificationListener.onNotification.

Source

typedef bool NotificationListenerCallback<T extends Notification>(T notification);