Pedometer.GetCurrentReadings 方法

定义

从计步器传感器获取当前步长信息。

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)

返回

传感器提供的步骤信息的集合。

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

适用于