MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

Ambient Light Sensor API

TBD

Ambient light sensor concepts and usage

TBD

Interfaces

AmbientLightSensor
Returns an interface for accessing AmbientLightSensorReadings.
AmbientLightSensorReading
Returns an interface for reading the current light level.
Specification Status Comment
Ambient Light Sensor Editor's Draft Initial definition.

Browser Compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) Firefox OS IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support ? ? ? ? ? ? ? ?

Document Tags and Contributors

 Contributors to this page: riju, bunnybooboo, jpmedley
 Last updated by: riju,