ProximitySensorDataThreshold 클래스

정의

ProximitySensor에 대한 임계값입니다. 임계값 조건이 충족되면 센서 트리거가 활성화됩니다.

public ref class ProximitySensorDataThreshold sealed : ISensorDataThreshold
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Sensors.IProximitySensorDataThresholdFactory, 131072, "Windows.Foundation.UniversalApiContract")]
/// [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 ProximitySensorDataThreshold final : ISensorDataThreshold
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Sensors.IProximitySensorDataThresholdFactory), 131072, "Windows.Foundation.UniversalApiContract")]
[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 ProximitySensorDataThreshold : ISensorDataThreshold
function ProximitySensorDataThreshold(sensor)
Public NotInheritable Class ProximitySensorDataThreshold
Implements ISensorDataThreshold
상속
Object Platform::Object IInspectable ProximitySensorDataThreshold
특성
구현

Windows 요구 사항

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

생성자

ProximitySensorDataThreshold(ProximitySensor)

ProximitySensorDataThreshold 개체를 만듭니다.

적용 대상

추가 정보