StepCounter Members

The StepCounter 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.
Public method DeactivateAsync
Closes the communication channel with underlying sensor. Connection must be closed whenever application is put to background.
Public method GetCurrentReadingAsync
Gets the current walking and running step counts since the last Motion Data reset.
Public method Static member GetDefaultAsync
Gets the default implementation.
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. Returns an empty vector if no history items are found.
Public method Static member IsSupportedAsync
Returns whether the sensor is supported by the device or not.

  Name Description
Public property Type
The sensor type.
Show: