Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Accelerometer Class

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

public sealed class Accelerometer : SensorBase<AccelerometerReading>

The Accelerometer type exposes the following members.

  NameDescription
Public methodAccelerometer
Top

  NameDescription
Public methodDispose
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStart
Public methodStop
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventCurrentValueChanged (Inherited from SensorBase<TSensorReading>.)
Public eventReadingChanged Obsolete.
Top

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft