Accelerometer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Accelerometer data of the acceleration of the device in three dimensional space.
public static class Accelerometer
- Inheritance
-
System.ObjectAccelerometer
Properties
IsMonitoring |
Gets if accelerometer is being monitored. |
Methods
Start(SensorSpeed) |
Start monitoring for changes to accelerometer. |
Stop() |
Stop monitoring for changes to accelerometer. |
Events
ReadingChanged |
Event triggered when reading of sensor changes. |
ShakeDetected |
Event triggered when a shake has been detected on the device. |