Dela via


CompassDataThreshold Class

Definition

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

public ref class CompassDataThreshold sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 655360)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CompassDataThreshold final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 655360)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CompassDataThreshold
Public NotInheritable Class CompassDataThreshold
Inheritance
Object Platform::Object IInspectable CompassDataThreshold
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

Degrees

Gets or sets the minimum amount of directional change required to reach the threshold, measured in degrees.

Applies to

See also