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 で導入)

適用対象