Jaa


MagnetometerDataThreshold Class

Definition

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

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
Inheritance
Object Platform::Object IInspectable MagnetometerDataThreshold
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

XAxisMicroteslas

Gets or sets the minimum change of geomagnetic data around the x-axis required to reach the threshold, measured in microteslas.

YAxisMicroteslas

Gets or sets the minimum change of geomagnetic data around the y-axis required to reach the threshold, measured in microteslas.

ZAxisMicroteslas

Gets or sets the minimum change of geomagnetic data around the z-axis required to reach the threshold, measured in microteslas.

Applies to

See also