IStepCounter Methods

The IStepCounter type exposes the following members.

  Name Description
Public method ActivateAsync
Re-establishes the communication channel with underlying sensor, if it doesn't already exist. Connection needs to be re-established when the application is brought to foreground.
(Inherited from ISensor.)
Public method DeactivateAsync
Closes the communication channel with underlying sensor. Connection must be closed whenever application is put to background.
(Inherited from ISensor.)
Public method GetCurrentReadingAsync
Gets the current walking and running step counts since the last Motion Data reset.
Public method GetStepCountAtAsync
Gets the step count at given time.
Public method GetStepCountForRangeAsync
Gets the step count for given time range.
Public method GetStepCountHistoryAsync
Returns time ordered list of step counts during given time period.