SensorDataThresholdTriggerDetails
SensorDataThresholdTriggerDetails
SensorDataThresholdTriggerDetails
SensorDataThresholdTriggerDetails
Class
Definition
Provides data for what sensor triggered the data threshold monitoring task.
public : sealed class SensorDataThresholdTriggerDetails : ISensorDataThresholdTriggerDetailspublic sealed class SensorDataThresholdTriggerDetails : ISensorDataThresholdTriggerDetailsPublic NotInheritable Class SensorDataThresholdTriggerDetails Implements ISensorDataThresholdTriggerDetails// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Remarks
In order to support the background trigger of sensors based on data threshold triggers, you will need to implement a method like GetReadingsFromTriggerDetails. You will need to do this for every sensor you want to respond to the data threshold trigger.
Properties
DeviceId DeviceId DeviceId DeviceId
Gets the device identifier for the device that activated the threshold trigger.
public : PlatForm::String DeviceId { get; }public string DeviceId { get; }Public ReadOnly Property DeviceId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The device identifier of the sensor.