Compass.IsSupported Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets whether the device on which the application is running supports the compass sensor.
Assembly: Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
Property Value
Type: System.BooleanType: Boolean. true if the device on which the application is running supports the compass sensor; otherwise, false.
Show: