MotionReading Structure

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

Syntax

'Declaration
Public Structure MotionReading _
    Implements ISensorReading
public struct MotionReading : ISensorReading
public value class MotionReading : ISensorReading
[<Sealed>]
type MotionReading =  
    struct 
        interface ISensorReading 
    end

The MotionReading type exposes the following members.

Properties

  Name Description
Public property Attitude
Public property DeviceAcceleration
Public property DeviceRotationRate
Public property Gravity
Public property Timestamp

Top

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

Thread Safety

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

See Also

Reference

Microsoft.Devices.Sensors Namespace