ISensorDataThreshold ISensorDataThreshold ISensorDataThreshold ISensorDataThreshold ISensorDataThreshold Interface

Definition

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

public : interface ISensorDataThreshold
struct winrt::Windows::Devices::Sensors::ISensorDataThreshold
public interface ISensorDataThreshold
Public Interface ISensorDataThreshold
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
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.