Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Purpose
Developers can create apps that use sensors to detect and respond to changes in ambient light. For example, an application can respond when a user walks outdoors with their slate device, by increasing the contrast between text and background.
In this section
Topic | Description |
---|---|
You can use the ambient light sensor to detect changes in lighting with an app written in JavaScript. |