Partager via


ProximitySensorDataThreshold Classe

Définition

Seuil du proximitySensor. Lorsque les conditions de seuil sont remplies, le déclencheur de capteur s’active.

public ref class ProximitySensorDataThreshold sealed : ISensorDataThreshold
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Sensors.IProximitySensorDataThresholdFactory, 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 ProximitySensorDataThreshold final : ISensorDataThreshold
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Sensors.IProximitySensorDataThresholdFactory), 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 ProximitySensorDataThreshold : ISensorDataThreshold
function ProximitySensorDataThreshold(sensor)
Public NotInheritable Class ProximitySensorDataThreshold
Implements ISensorDataThreshold
Héritage
Object Platform::Object IInspectable ProximitySensorDataThreshold
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

ProximitySensorDataThreshold(ProximitySensor)

Crée un objet ProximitySensorDataThreshold .

S’applique à

Voir aussi