Accelerometer Class

Definition

Accelerometer data of the acceleration of the device in three dimensional space.

public static class Accelerometer
Inheritance
Accelerometer

Properties

IsMonitoring

Gets if acceleromter is being monitored.

Methods

Start(SensorSpeed)

Start monitoring for changes to acceleromter.

Stop()

Stop monitoring for changes to acceleromter.

Events

ReadingChanged

Event triggered when reading of sensor changes.

ShakeDetected

Event triggered when a shake has been detected on the device.

Applies to