Jaa


SensorOptimizationGoal Enum

Definition

Indicates whether power or precision should be optimized for sensors.

public enum class SensorOptimizationGoal
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class SensorOptimizationGoal
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum SensorOptimizationGoal
var value = Windows.Devices.Sensors.SensorOptimizationGoal.precision
Public Enum SensorOptimizationGoal
Inheritance
SensorOptimizationGoal
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
Precision 0

This sensor will prioritize precision over power efficiency.

PowerEfficiency 1

This sensor will prioritize power efficiency over precision depending on the hardware available.

Applies to