The Ambient Light Sensor API provides an interface to monitor the ambient light level or illuminance of the device’s environment.
Interfaces
AmbientLightSensor- Returns an interface for accessing
AmbientLightSensorReadings.
Specifications
| Specification | Status | Comment |
| Ambient Light Sensor | Candidate Recommendation | Initial definition. |
Ambient Light Sensor API by Mozilla Contributors is licensed under CC-BY-SA 2.5.