OrientationSensor Class
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.
The OrientationSensor API lets you monitor the orientation of a device in three dimensional space.
public ref class OrientationSensor abstract sealed
public static class OrientationSensor
type OrientationSensor = class
Public Class OrientationSensor
- Inheritance
-
OrientationSensor
Properties
Default |
Provides the default implementation for static usage of this API. |
IsMonitoring |
Gets a value indicating whether the orientation sensor is actively being monitored. |
IsSupported |
Gets a value indicating whether reading the orientation sensor is supported on this device. |
Methods
Start(SensorSpeed) |
Start monitoring for changes to the orientation. |
Stop() |
Stop monitoring for changes to the orientation. |
Events
ReadingChanged |
Occurs when the orientation reading changes. |