Interface

DeviceLightEvent

DeviceLightEvent

The DeviceLightEvent provides web developers with information from photo sensors or similiar detectors about ambient light levels near the device. For example this may be useful to adjust the screen's brightness based on the current ambient light level in order to save energy or provide better readability.

View Source js/lib.dom.d.ts, line 1176