Share via


Barometer.ReportThreshold 属性

定义

获取气压传感器的 BarometerDataThreshold

public:
 property BarometerDataThreshold ^ ReportThreshold { BarometerDataThreshold ^ get(); };
BarometerDataThreshold ReportThreshold();
public BarometerDataThreshold ReportThreshold { get; }
var barometerDataThreshold = barometer.reportThreshold;
Public ReadOnly Property ReportThreshold As BarometerDataThreshold

属性值

Windows 要求

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

注解

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

适用于