AccelerometerFailedException::ErrorId Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The error code from the underlying native code implementation of the accelerometer framework.
Assembly: Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
Capabilities
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
ID_CAP_SENSORS | Windows Phone 8, Windows Phone OS 7.1 |
For more info, see App capabilities and hardware requirements for Windows Phone 8.