Compass Class

Definition

Monitor changes to the orientation of the user's device.

public static class Compass
Inheritance
System.Object
Compass

Properties

Name Description
IsMonitoring

Gets if compass is actively being monitored.

ShouldDisplayHeadingCalibration

Determines if the calibration screen should be displayed.

Methods

Name Description
Start(SensorSpeed, Boolean)

Start monitoring for changes to the compass.

Start(SensorSpeed)

Start monitoring for changes to the compass.

Stop()

Stop monitoring for changes to the compass.

Events

Name Description
ReadingChanged

Event triggered when compass reading changes.

Applies to