Share via


ISensorDataThreshold 接口

定义

标识传感器数据的阈值。 超过此阈值时,传感器触发器将激活。

public interface class ISensorDataThreshold
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(1423633505, 65099, 19975, 178, 96, 58, 76, 223, 190, 57, 110)]
struct ISensorDataThreshold
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.Guid(1423633505, 65099, 19975, 178, 96, 58, 76, 223, 190, 57, 110)]
public interface ISensorDataThreshold
Public Interface ISensorDataThreshold
派生
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

注解

传感器可以支持不同类型的阈值,具体取决于所涉及的传感器类型。 例如,计步器可以支持在步数超过设置值时触发的阈值。 另一方面,邻近感应可能具有在传感器状态更改时激活的阈值。

适用于