Dela via


BarometerDataThreshold Class

Definition

Provides access to barometer data thresholds (also known as change sensitivity).

public ref class BarometerDataThreshold sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarometerDataThreshold final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarometerDataThreshold
Public NotInheritable Class BarometerDataThreshold
Inheritance
Object Platform::Object IInspectable BarometerDataThreshold
Attributes

Windows requirements

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

Remarks

The threshold values are used to configure how the sensor hardware filters data sent to applications. Applications can configure thresholds to let the hardware filter out any irrelevant changes in the sensor data.

Properties

Hectopascals

Gets or sets the minimum amount of barometric pressure increase or decrease required to reach the threshold, measured in in hectopascals.

Applies to

See also