nsIDeviceSensors

Methods

hasWindowListener(aType, aWindow)

Returns true if the given window has any listeners of the given type

addWindowListener(aType, aWindow)

removeWindowListener(aType, aWindow)

removeWindowAsListener(aWindow)