Back to index
|void||observe (in nsISupports aSubject, in string aTopic, in wstring aData)|
|Observe will be called when there is a notification for the topic |aTopic|. |
|void nsIObserver::observe||(||in nsISupports||aSubject,|
Observe will be called when there is a notification for the topic |aTopic|.
This assumes that the object implementing this interface has been registered with an observer service such as the nsIObserverService.
If you expect multiple topics/subjects, the impl is responsible for filtering.
You should not modify, add, remove, or enumerate notifications in the implemention of observe.
|aSubject||: Notification specific interface pointer.|
|aTopic||: The notification topic or subject.|
|aData||: Notification specific wide string. subject event.|