Dela via


LightSensorDataThreshold Class

Definition

Provides access to light data thresholds (also known as change sensitivity).

public ref class LightSensorDataThreshold sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LightSensorDataThreshold final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LightSensorDataThreshold
Public NotInheritable Class LightSensorDataThreshold
Inheritance
Object Platform::Object IInspectable LightSensorDataThreshold
Attributes

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

The threshold values are used to configure how the sensor hardware filters data sent to applications. Applications can configure thresholds to let the hardware filter out any irrelevant changes in the sensor data.

Properties

AbsoluteLux

Gets or sets the minimum change in light (lux) required to reach the threshold, measured in absolute units of lux.

LuxPercentage

Gets or sets the minimum change in light (lux) required to reach the threshold, measured in percent.

Applies to

See also