Compartir a través de


SensorDataThresholdTrigger Clase

Definición

Representa un desencadenador que responde cuando se cruza un límite de umbral para un sensor.

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
Herencia
Object Platform::Object IInspectable SensorDataThresholdTrigger
Atributos
Implementaciones

Requisitos de Windows

Familia de dispositivos
Windows 10 (se introdujo en la versión 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (se introdujo en la versión v2.0)

Constructores

SensorDataThresholdTrigger(ISensorDataThreshold)

Inicializa una nueva instancia de la clase SensorDataThresholdTrigger .

Se aplica a

Consulte también