IGyroscope Interface
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 interface class IGyroscope
public interface IGyroscope
type IGyroscope = interface
Public Interface IGyroscope
Properties
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. |