CompassDataThreshold 類別

定義

提供存取指南針資料閾值 (也稱為變更敏感度) 。

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

Windows 需求

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

備註

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

屬性

Degrees

取得或設定達到臨界值所需的最小方向變更量,以度為單位。

適用於

另請參閱