ICompass Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Monitor changes to the orientation of the user's device.
public interface class ICompass
public interface ICompass
type ICompass = interface
Public Interface ICompass
Properties
IsMonitoring |
Gets if compass is actively being monitored. |
IsSupported |
Gets a value indicating whether reading the compass is supported on this device. |
Methods
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
ReadingChanged |
Occurs when compass reading changes. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.