Compartilhar via


OrientationSensorImplementation Classe

Definição

Implementação concreta das 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
Herança
OrientationSensorImplementation
Implementações

Construtores

OrientationSensorImplementation()

Implementação concreta das IOrientationSensor APIs.

Propriedades

IsMonitoring

Obtém um valor que indica se o sensor de orientação está sendo monitorado ativamente.

IsSupported

Obtém um valor que indica se há suporte para a leitura do sensor de orientação neste dispositivo.

Métodos

Start(SensorSpeed)

Inicie o monitoramento de alterações na orientação.

Stop()

Pare o monitoramento de alterações na orientação.

Eventos

ReadingChanged

Ocorre quando a leitura de orientação é alterada.

Aplica-se a