[This documentation is preliminary and is subject to change.]
Provides access to the supported types of sensors and related motion data.
Members
The Windows.Devices.Sensors namespace has these types of members:
Classes
The Windows.Devices.Sensors namespace has these classes.
| Class | Description |
|---|---|
| Accelerometer | Represents an accelerometer sensor. |
| AccelerometerReading | Represents an accelerometer reading. |
| AccelerometerReadingChangedEventArgs | Provides data for the accelerometer readingchanged event. |
| AccelerometerShakenEventArgs | Provides data for the accelerometer-shaken event. |
| Compass | Represents a compass sensor. |
| CompassReading | Represents a compass reading. |
| CompassReadingChangedEventArgs | Provides data for the compass readingchanged event. |
| Gyrometer | Represents a gyrometer sensor. |
| GyrometerReading | Represents a gyrometer reading. |
| GyrometerReadingChangedEventArgs | Provides data for the gyrometer readingchanged event. |
| Inclinometer | Represents an inclinometer sensor. |
| InclinometerReading | Represents an inclinometer reading. |
| InclinometerReadingChangedEventArgs | Provides data for the inclinometer readingchanged event. |
| LightSensor | Represents an ambient-light sensor. |
| LightSensorReading | Represents an ambient lightsensor reading. |
| LightSensorReadingChangedEventArgs | Provides data for the ambient-light sensor reading-changed event. |
| OrientationSensor | Represents an orientation sensor. |
| OrientationSensorReading | Represents an orientation-sensor reading. |
| OrientationSensorReadingChangedEventArgs | Provides data for the orientation-sensor reading-changed event. |
| SensorQuaternion | Represents a Quaternion. |
| SensorRotationMatrix | Represents a 3x3 rotation matrix. |
| SimpleOrientationSensor | Represents a simple orientation sensor. |
| SimpleOrientationSensorOrientationChangedEventArgs | Provides data for the sensor reading–changed event. |
Enumerations
The Windows.Devices.Sensors namespace has these enumerations.
| Enumeration | Description |
|---|---|
| SimpleOrientation | Indicates the orientation of the device. |
Remarks
This namespace provides access to the following types of sensors.
| Sensor | Description |
|---|---|
| Accelerometer | Detects acceleration along three axes (x, y, and z). |
| Inclinometer | Detects changes in angle of incline. |
| Gyrometer | Detects changes in angular velocity. |
| Compass | Detects changes in orientation. |
| Light | Detects changes in ambient lighting. |
| Orientation | Combines the accelerometer, compass, and gyrometer to obtain more sensitive movement data. |
| Simple Orientation | Uses the accelerometer to obtain device orientation as a rotation into one of four quadrants, or face-up, or face-down. |
In addition, this namespace provides access to the following motion (or movement) data.
| Data | Description |
|---|---|
| Quaternion | A Quaternion is a rotation of a point [x,y,z] around an arbitrary axis. |
| Rotation Matrix | A Rotation Matrix represents a rotation around 3 axes (x, y, and z). |
Requirements
|
Minimum supported client | Windows 8 Release Preview |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
Build date: 5/22/2012
