MagnetometerDataThreshold 類別

定義

提供磁力計資料閾值的存取權, (也稱為變更敏感度) 。

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

Windows 需求

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

備註

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

屬性

XAxisMicroteslas

取得或設定以微鑲嵌為單位測量之 X 軸周圍地理磁力資料的最小變更。

YAxisMicroteslas

取得或設定達到臨界值所需的 Y 軸周圍地理磁力資料的最小變更,以微鑲嵌為單位。

ZAxisMicroteslas

取得或設定以微鑲嵌為單位測量之 Z 軸周圍地理磁力資料的最小變更。

適用於

另請參閱