Dela via


Accelerometer.ReportThreshold Property

Definition

Gets the AccelerometerDataThreshold for the accelerometer sensor.

public:
 property AccelerometerDataThreshold ^ ReportThreshold { AccelerometerDataThreshold ^ get(); };
AccelerometerDataThreshold ReportThreshold();
public AccelerometerDataThreshold ReportThreshold { get; }
var accelerometerDataThreshold = accelerometer.reportThreshold;
Public ReadOnly Property ReportThreshold As AccelerometerDataThreshold

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

Applies to