Windows apps
Collapse the table of content
Expand the table of content

Compass Class


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

public sealed class Compass : SensorBase<CompassReading>

The Compass type exposes the following members.

Public methodCompass

Public methodDispose (Inherited from SensorBase<TSensorReading>.)
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 (Inherited from SensorBase<TSensorReading>.)
Public methodStop (Inherited from SensorBase<TSensorReading>.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

.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.
© 2017 Microsoft