PedometerStatus enumeration
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Specifies the status of the pedometer sensor.
Syntax
var value = Windows.Devices.Sensors.PedometerStatus.disabled;
public enum PedometerStatus
Public Enum PedometerStatus
public enum class PedometerStatus
Members
The PedometerStatus enumeration has these members.
Member | Value | Description |
---|---|---|
Disabled | disabled | 0 | The sensor is disabled. |
Idle | idle | 1 | The sensor is enabled but is idle. |
Active | active | 2 | The sensor is enabled and is currently active. |
Reset | reset | 3 | There was an error with the sensor and it is resetting. |
Requirements (Windows 10 device family)
Device family |
Universal |
API contract |
Windows.Foundation.UniversalApiContract, introduced version 1.0 |
Namespace |
Windows.Devices.Sensors Windows::Devices::Sensors [C++] |
Metadata |
Windows.Foundation.UniversalApiContract.winmd |
Attributes
[Version]