Motion Constructor
Collapse the table of content
Expand the table of content

Motion Constructor

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

Initializes a new instance of the Motion class.

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

'Declaration
Public Sub New

ExceptionCondition
SensorFailedException

The limit of 10 simultaneous instances of the Motion class per application has been exceeded.

An application can create a maximum of 10 simultaneous instances of the Motion class. An exception will be thrown if this limit is exceeded.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft