Dela via


Compass.ReportThreshold Property

Definition

Gets the CompassDataThreshold for the compass sensor.

public:
 property CompassDataThreshold ^ ReportThreshold { CompassDataThreshold ^ get(); };
CompassDataThreshold ReportThreshold();
public CompassDataThreshold ReportThreshold { get; }
var compassDataThreshold = compass.reportThreshold;
Public ReadOnly Property ReportThreshold As CompassDataThreshold

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 CompassDataThreshold.

Applies to