SensorDataThresholdTriggerDetails 클래스

정의

데이터 임계값 모니터링 작업을 트리거한 센서에 대한 데이터를 제공합니다.

public ref class SensorDataThresholdTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SensorDataThresholdTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SensorDataThresholdTriggerDetails
Public NotInheritable Class SensorDataThresholdTriggerDetails
상속
Object Platform::Object IInspectable SensorDataThresholdTriggerDetails
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10586.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v2.0에서 도입되었습니다.)

설명

데이터 임계값 트리거를 기반으로 센서의 백그라운드 트리거를 지원하려면 GetReadingsFromTriggerDetails와 같은 메서드를 구현해야 합니다. 데이터 임계값 트리거에 응답하려는 모든 센서에 대해 이 작업을 수행해야 합니다.

속성

DeviceId

임계값 트리거를 활성화한 디바이스의 디바이스 식별자를 가져옵니다.

SensorType

임계값 트리거와 연결된 센서 유형을 가져옵니다.

적용 대상