Bagikan melalui


SensorDataThresholdTrigger Kelas

Definisi

Mewakili pemicu yang merespons saat batas ambang untuk sensor disilangkan.

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
Warisan
Object Platform::Object IInspectable SensorDataThresholdTrigger
Atribut
Penerapan

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v2.0)

Konstruktor

SensorDataThresholdTrigger(ISensorDataThreshold)

Menginisialisasi instans baru kelas SensorDataThresholdTrigger .

Berlaku untuk

Lihat juga