LightSensor.ReportThreshold 属性

定义

获取光传感器的 LightSensorDataThreshold

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

属性值

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v10.0 中引入)

注解

仅当先前报告的数据读取与新样本之间的增量大于 LightSensorDataThreshold 时,才会生成报表。

适用于