Ambient Light Sensor API - based on Generic Sensor API.

This API is a handy way to make a web page or web app aware of any change in light intensity. See also https://w3c.github.io/sensors/

Comments

This is behind the #enable-generic-sensor-extra-classes flag in chrome://flags.

Specification

Editor's draft

Status in Chromium

Blink>Sensor


Enabled by default (tracking bug) in:

  • Chrome for desktop release 67
  • Chrome for Android release 67
  • Android WebView release 67
  • Opera release 54
  • Opera for Android release 54

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2018-06-08