public interface NotificationProvider
Notifications. It
maintains a set of NotificationReceivers which will be notified when there is a new
Notification.| Modifier and Type | Method and Description |
|---|---|
void |
addReceiver(NotificationReceiver receiver)
Adds a new
NotificationReceiver. |
void |
removeReceiver(NotificationReceiver receiver)
Removes a
NotificationReceiver. |
void addReceiver(NotificationReceiver receiver)
NotificationReceiver. Does nothing of receiver is already registered,receiver - the receiver to addvoid removeReceiver(NotificationReceiver receiver)
NotificationReceiver. Does nothing if the receiver was
never registered.receiver - the receiverCopyright © 2018. All rights reserved.