OrientationSensorImplementation 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.
Concrete implementation of the IOrientationSensor APIs.
public ref class OrientationSensorImplementation : Microsoft::Maui::Devices::Sensors::IOrientationSensor
public class OrientationSensorImplementation : Microsoft.Maui.Devices.Sensors.IOrientationSensor
type OrientationSensorImplementation = class
interface IOrientationSensor
Public Class OrientationSensorImplementation
Implements IOrientationSensor
- Inheritance
-
OrientationSensorImplementation
- Implements
Constructors
OrientationSensorImplementation() |
Properties
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. |
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.