Поделиться через


Responding to light sensors

Purpose

Developers can create Windows Store apps that use sensors to detect and respond to changes in ambient lighting. For example, an application can respond to a user walking out of doors with their slate device by increasing the contrast between the background and the font being rendered.

In this section

Topic Description

Quickstart: Responding to changes in lighting (C#)

You can use the ambient light sensor to detect changes in lighting with an app written in C#.

Quickstart:Responding to changes in lighting (C++)

You can use the ambient light sensor to detect changes in lighting with an app written in C++.

 

Developer audience

Developers writing applications for slate and notebook devices will write applications that respond to light sensors.

Roadmap for creating apps using C#, C++, or VB