Windows 7 sensor API makes it easier to developers to create applications that deals with hardware components, using this API you can make an application that controls the brightness of the screen.
The COM-based Sensor API works with drivers via extensions to a sensor class and consists of three main interfaces:
· ISensorManager provides methods for identifying and retrieving available sensors, requesting permissions, and controlling what happens when the user connects a sensor to a computer.
· ISensor lets sensors get and set properties, obtain reports, and control sensor-related events.
· ISensorDataReport reports sensor data and provides time stamps.
The common API lets you ensure that your code is going to be able to interact with sensors devices developed by different manufacturers.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment