Compass Class
Inheritance Hierarchy
System.Object
Microsoft.Devices.Sensors.SensorBase<CompassReading>
Microsoft.Devices.Sensors.Compass
Namespace: Microsoft.Devices.Sensors
Assembly: Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)
Syntax
'Declaration
Public NotInheritable Class Compass _
Inherits SensorBase(Of CompassReading)
public sealed class Compass : SensorBase<CompassReading>
public ref class Compass sealed : public SensorBase<CompassReading>
[<Sealed>]
type Compass =
class
inherit SensorBase<CompassReading>
end
The Compass type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Compass |
Top
Properties
Name | Description | |
---|---|---|
CurrentValue | (Inherited from SensorBase<TSensorReading>.) | |
IsDataValid | (Inherited from SensorBase<TSensorReading>.) | |
IsSupported | ||
TimeBetweenUpdates | (Inherited from SensorBase<TSensorReading>.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose | (Inherited from SensorBase<TSensorReading>.) | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Start | (Inherited from SensorBase<TSensorReading>.) | |
Stop | (Inherited from SensorBase<TSensorReading>.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
Calibrate | ||
CurrentValueChanged | (Inherited from SensorBase<TSensorReading>.) |
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.