IGyroscope Interface

Definition

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.

Applies to