public interface IActivationNotificationProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
addActivationNotificationListener(IActivationNotificationListener listener,
boolean fireNow)
Registers an
IActivationNotificationListener to receive updates on activation appearance and
disappearance. |
boolean |
removeActivationNotificationListener(IActivationNotificationListener listener)
Unregisters a listener registered by
addActivationNotificationListener(IActivationNotificationListener, boolean). |
boolean addActivationNotificationListener(IActivationNotificationListener listener, boolean fireNow)
IActivationNotificationListener to receive updates on activation appearance and
disappearance.
The listener can be unregistered via
removeActivationNotificationListener(IActivationNotificationListener).
fireNow - if true, listener will be immediately invoked on all current activations as a one-time effect.listener - the listener that will be notified of each new activation that appears or disappears, starting from
now.boolean removeActivationNotificationListener(IActivationNotificationListener listener)
addActivationNotificationListener(IActivationNotificationListener, boolean).listener - the listener that will no longer be notified.