CompassReading Structure

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

Syntax

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

The CompassReading type exposes the following members.

Properties

  Name Description
Public property HeadingAccuracy
Public property MagneticHeading
Public property MagnetometerReading
Public property Timestamp
Public property TrueHeading

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