PedometerReading PedometerReading PedometerReading PedometerReading PedometerReading Class

Definition

Represents a pedometer reading.

public : sealed class PedometerReading
struct winrt::Windows::Devices::Sensors::PedometerReading
public sealed class PedometerReading
Public NotInheritable Class PedometerReading
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
activity

Remarks

This object is accessed when you request the sensor history. It is also accessed when you retrieve the Reading property of the PedometerReadingChangedEventArgs object in the event callback method.

Properties

CumulativeSteps CumulativeSteps CumulativeSteps CumulativeSteps CumulativeSteps

Gets the total number of steps taken for this pedometer reading.

CumulativeStepsDuration CumulativeStepsDuration CumulativeStepsDuration CumulativeStepsDuration CumulativeStepsDuration

Gets the amount of time that has elapsed for this pedometer reading.

StepKind StepKind StepKind StepKind StepKind

Indicates the type of steps taken for this pedometer reading.

Timestamp Timestamp Timestamp Timestamp Timestamp

Gets the time for the most recent pedometer reading.