SensorDataThresholdTrigger Klasse

Definition

Stellt einen Trigger dar, der reagiert, wenn ein Schwellenwert für einen Sensor überschritten wird.

public ref class SensorDataThresholdTrigger sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Background.ISensorDataThresholdTriggerFactory, 131072, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SensorDataThresholdTrigger final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Background.ISensorDataThresholdTriggerFactory), 131072, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SensorDataThresholdTrigger
function SensorDataThresholdTrigger(threshold)
Public NotInheritable Class SensorDataThresholdTrigger
Vererbung
Object Platform::Object IInspectable SensorDataThresholdTrigger
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v2.0)

Konstruktoren

SensorDataThresholdTrigger(ISensorDataThreshold)

Initialisiert eine neue instance der SensorDataThresholdTrigger-Klasse.

Gilt für:

Weitere Informationen