Accelerometer.IsSupported Property

May 11, 2014

Gets or sets whether the device on which the application is running supports the accelerometer 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 accelerometer sensor; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2014 Microsoft