LightSensor.ReportThreshold Property

Definition

Gets the LightSensorDataThreshold for the light sensor.

public:
 property LightSensorDataThreshold ^ ReportThreshold { LightSensorDataThreshold ^ get(); };
LightSensorDataThreshold ReportThreshold();
public LightSensorDataThreshold ReportThreshold { get; }
var lightSensorDataThreshold = lightSensor.reportThreshold;
Public ReadOnly Property ReportThreshold As LightSensorDataThreshold

Property Value

Windows requirements

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

Remarks

A report is generated only if the delta between the previous reported data reading and a new sample is greater than the LightSensorDataThreshold.

Applies to