Partager via


SensorDataThresholdTrigger Classe

Définition

Représente un déclencheur qui répond lorsqu’une limite de seuil pour un capteur est dépassée.

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
Héritage
Object Platform::Object IInspectable SensorDataThresholdTrigger
Attributs
Implémente

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v2.0)

Constructeurs

SensorDataThresholdTrigger(ISensorDataThreshold)

Initialise une nouvelle instance de la classe SensorDataThresholdTrigger.

S’applique à

Voir aussi