
nsIObserver
This interface is implemented by an object that wants to observe an event corresponding to a topic. It is scriptable.
See also:
nsIObserverService.Called when there is a notification for the topic
aTopic. The object implementing this interface must have been registered with an observer service such as thensIObserverService. If you expect multiple topics/subjects, your implementation is responsible for filtering. You should not modify, add, remove, or enumerate notifications in the implemention of observe.Syntax:
void nsIObserver::observe(in nsISupports aSubject, in string aTopic,in wstring aData)Parameters:
nsresult:
| Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |