Share via


Magnetometer.ReportThreshold Property

Definition

Gets the MagnetometerDataThreshold for the magnetometer sensor.

public:
 property MagnetometerDataThreshold ^ ReportThreshold { MagnetometerDataThreshold ^ get(); };
MagnetometerDataThreshold ReportThreshold();
public MagnetometerDataThreshold ReportThreshold { get; }
var magnetometerDataThreshold = magnetometer.reportThreshold;
Public ReadOnly Property ReportThreshold As MagnetometerDataThreshold

Property Value

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

A report is generated only if the delta between the previous reported data reading and a new sample is greater than the MagnetometerDataThreshold.

Applies to