IsSupported Property
Collapse the table of content
Expand the table of content

Gyroscope.IsSupported Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets whether the device on which the application is running supports the gyroscope sensor.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)

public static bool IsSupported { get; internal set; }

Property Value

Type: System.Boolean
true if the device on which the application is running supports the gyroscope sensor; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft