Share via


Gyroscope Class

Definition

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.

Applies to