共用方式為


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時,才會產生報表。

適用於