« XPCOM API Reference

The XPCOM Observer Service.

Class ID
D07F5195-E3D1-11d2-8ACD-00105A1B8860
ContractID
@mozilla.org/observer-service;1

Supported interfaces

nsIObserverService

Remarks

This component is a singleton and should therefore be accessed via the XPCOM Service Manager. It should be used from the main thread only.