Gyroscope Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Gyroscope API lets you monitor the device's gyroscope sensor which is the rotation around the device's three primary axes.
public ref class Gyroscope abstract sealed
public static class Gyroscope
type Gyroscope = class
Public Class Gyroscope
- Inheritance
-
Gyroscope
Properties
Default |
Provides the default implementation for static usage of this API. |
IsMonitoring |
Gets a value indicating whether the gyroscope is actively being monitored. |
IsSupported |
Gets a value indicating whether reading the gyroscope is supported on this device. |
Methods
Start(SensorSpeed) |
Start monitoring for changes to the gyroscope. |
Stop() |
Stop monitoring for changes to the gyroscope. |
Events
ReadingChanged |
Occurs when the gyroscope reading changes. |