ISensorDataThreshold
ISensorDataThreshold
ISensorDataThreshold
ISensorDataThreshold
Interface
Definition
Identifies a threshold for sensor data. When this threshold is crossed, the sensor trigger will activate.
public : interface ISensorDataThresholdpublic interface ISensorDataThresholdPublic Interface ISensorDataThreshold// You can use this interface in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
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.