To be implemented by a any class acting as a notification filter. It allows a registered notification listener to filter the notifications of interest.
Method Summary | |
---|---|
boolean |
isNotificationEnabled(Notification notification)
Invoked before sending the specified notification to the listener. |
Method Detail |
---|
boolean isNotificationEnabled(Notification notification)
notification
- The notification to be sent.
true
if the notification has to be sent to the listener, false
otherwise.