ISensorDataThreshold Interface

Definition

Identifies a threshold for sensor data. When this threshold is crossed, the sensor trigger will activate.

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
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

Sensors can support different types of thresholds depending on the type of sensor involved. For example, a pedometer could support having a threshold that will trigger if the number of steps exceeds a set value. On the other hand, a proximity could have a threshold that is activated when the sensor state changes.

Applies to