IAccelerometer Interface

Definition

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

public interface class IAccelerometer
public interface IAccelerometer
type IAccelerometer = interface
Public Interface IAccelerometer

Properties

IsMonitoring

Gets a value indicating whether the accelerometer is being monitored.

IsSupported

Gets a value indicating whether reading the accelerometer is supported on this device.

Methods

Start(SensorSpeed)

Start monitoring for changes to accelerometer.

Stop()

Stop monitoring for changes to accelerometer.

Events

ReadingChanged

Occurs when the sensor reading changes.

ShakeDetected

Occurs when the accelerometer detects that the device has been shaken.

Applies to