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

Motion.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 sensors required by the Motion class.

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

'Declaration
Public Shared Property IsSupported As Boolean

Property Value

Type: System.Boolean
true if the device on which the application is running supports the sensors required by the Motion class; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft