Accelerometer.Stop Method

July 28, 2014

Stops data acquisition from the accelerometer.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)

public void Stop()

This method may throw one of the following exceptions.

UnauthorizedAccessException

The caller does not have access to the accelerometer sensor.

AccelerometerFailedException

Data acquisition from the Accelerometer cannot be started. The cause of the error is described in the exception’s message field.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft