Share via


OrientationSensorImplementation Class

Definition

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