Compartir a través de


ProximitySensorDataThreshold Clase

Definición

Umbral de ProximitySensor. Cuando se cumplan las condiciones de umbral, se activará el desencadenador del sensor.

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
Herencia
Object Platform::Object IInspectable ProximitySensorDataThreshold
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

ProximitySensorDataThreshold(ProximitySensor)

Crea un objeto ProximitySensorDataThreshold .

Se aplica a

Consulte también