ProximitySensorDataThreshold ProximitySensorDataThreshold ProximitySensorDataThreshold ProximitySensorDataThreshold ProximitySensorDataThreshold Class

Definition

A threshold for the ProximitySensor. When the threshold conditions are met, the sensor trigger will activate.

public : sealed class ProximitySensorDataThreshold : ISensorDataThreshold
struct winrt::Windows::Devices::Sensors::ProximitySensorDataThreshold : ISensorDataThreshold
public sealed class ProximitySensorDataThreshold : ISensorDataThreshold
Public NotInheritable Class ProximitySensorDataThreshold Implements ISensorDataThreshold
var proximitySensorDataThreshold = new proximitySensorDataThreshold(sensor);
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v2)

Constructors

ProximitySensorDataThreshold(ProximitySensor) ProximitySensorDataThreshold(ProximitySensor) ProximitySensorDataThreshold(ProximitySensor) ProximitySensorDataThreshold(ProximitySensor) ProximitySensorDataThreshold(ProximitySensor)

Creates a ProximitySensorDataThreshold object.

See also