Pedometer.GetCurrentReadings Method

Definition

Gets the current step information from the pedometer sensor.

public:
 virtual IMapView<PedometerStepKind, PedometerReading ^> ^ GetCurrentReadings() = GetCurrentReadings;
IMapView<PedometerStepKind, PedometerReading const&> GetCurrentReadings();
public IReadOnlyDictionary<PedometerStepKind,PedometerReading> GetCurrentReadings();
function getCurrentReadings()
Public Function GetCurrentReadings () As IReadOnlyDictionary(Of PedometerStepKind, PedometerReading)

Returns

A collection of the step information available from the sensor.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to