OrientationSensorImplementation 클래스

정의

API의 IOrientationSensor 구체적인 구현.

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
상속
OrientationSensorImplementation
구현

생성자

OrientationSensorImplementation()

API의 IOrientationSensor 구체적인 구현.

속성

IsMonitoring

방향 센서가 적극적으로 모니터링되고 있는지 여부를 나타내는 값을 가져옵니다.

IsSupported

이 디바이스에서 방향 센서 읽기가 지원되는지 여부를 나타내는 값을 가져옵니다.

메서드

Start(SensorSpeed)

방향 변경에 대한 모니터링을 시작합니다.

Stop()

방향 변경에 대한 모니터링을 중지합니다.

이벤트

ReadingChanged

방향 읽기가 변경되면 발생합니다.

적용 대상