BarometerDataThreshold 类

定义

提供对晴雨表数据阈值的访问, (也称为更改敏感度) 。

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
继承
Object Platform::Object IInspectable BarometerDataThreshold
属性

Windows 要求

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

注解

阈值用于配置传感器硬件筛选发送到应用程序的数据的方式。 应用程序可以配置阈值,让硬件筛选出传感器数据中的任何不相关的更改。

属性

名称 说明
Hectopascals

获取或设置达到阈值所需的最小气压增加或减小量,以十六升为单位。

适用于

另请参阅