SensorDataThresholdTriggerDetails SensorDataThresholdTriggerDetails SensorDataThresholdTriggerDetails SensorDataThresholdTriggerDetails SensorDataThresholdTriggerDetails Class

Definition

Provides data for what sensor triggered the data threshold monitoring task.

public : sealed class SensorDataThresholdTriggerDetails
struct winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails
public sealed class SensorDataThresholdTriggerDetails
Public NotInheritable Class SensorDataThresholdTriggerDetails
// This class does not provide a public constructor.
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 DeviceId

Gets the device identifier for the device that activated the threshold trigger.

SensorType SensorType SensorType SensorType SensorType

Gets the type of sensor associated with the threshold trigger.