Gyroscope Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the Gyroscope class.
Assembly: Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
| Exception | Condition |
|---|---|
| SensorFailedException | The limit of 10 simultaneous instances of the Gyroscope class per application has been exceeded. |
An application can create a maximum of 10 simultaneous instances of the Gyroscope class. An exception will be thrown if this limit is exceeded.
Show: