Accelerometer.Stop Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Stops data acquisition from the accelerometer.
Namespace: Microsoft.Devices.Sensors
Assembly: Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
Syntax
Public Sub Stop
public void Stop()
Remarks
This method may throw one of the following exceptions.
The caller does not have access to the accelerometer sensor. |
|
Data acquisition from the Accelerometer cannot be started. The cause of the error is described in the exception’s message field. |
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone