Sdílet prostřednictvím


Accelerometer Class

Definition

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

public static class Accelerometer
Inheritance
System.Object
Accelerometer

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.

Applies to