Dela via


PedometerStepKind Enum

Definition

The type of step taken according to the pedometer.

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

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Unknown 0

An unknown step type.

Walking 1

A walking step.

Running 2

A running step.

Remarks

A single step type applies to all of the steps recorded during a single PedometerReading.

Applies to