AccelerometerDataThreshold Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to accelerometer data thresholds (also known as change sensitivity).
public ref class AccelerometerDataThreshold sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AccelerometerDataThreshold final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AccelerometerDataThreshold
Public NotInheritable Class AccelerometerDataThreshold
- Inheritance
- 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
XAxisInGForce |
Gets or sets the minimum amount of acceleration increase or decrease along the x-axis required to reach the threshold, measured in in g-force. |
YAxisInGForce |
Gets or sets the minimum amount of acceleration increase or decrease along the y-axis required to reach the threshold, measured in in g-force. |
ZAxisInGForce |
Gets or sets the minimum amount of acceleration increase or decrease along the z-axis required to reach the threshold, measured in in g-force. |