Dela via


Barometer.ReportThreshold Property

Definition

Gets BarometerDataThreshold for the barometric pressure sensor.

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

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 BarometerDataThreshold.

Applies to