AccelerometerDataThreshold 類別

定義

提供存取加速計資料閾值 (也稱為變更敏感度) 。

public ref class AccelerometerDataThreshold sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AccelerometerDataThreshold final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AccelerometerDataThreshold
Public NotInheritable Class AccelerometerDataThreshold
繼承
Object Platform::Object IInspectable AccelerometerDataThreshold
屬性

Windows 需求

裝置系列
Windows 10, version 2004 (已於 10.0.19041.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v10.0 引進)

備註

臨界值可用來設定感應器硬體如何篩選傳送至應用程式的資料。 應用程式可以設定臨界值,讓硬體篩選掉感應器資料中任何無關的變更。

屬性

XAxisInGForce

取得或設定達到以 g-force 為單位測量的臨界值所需 X 軸的最小加速增加或減少量。

YAxisInGForce

取得或設定在 g-force 中測量的最小加速增加或減少,沿著達到臨界值所需的 Y 軸。

ZAxisInGForce

取得或設定達到以 g-force 為單位測量之閾值所需的 Z 軸增加或減少最小加速量。

適用於

另請參閱