IStepCounter.GetStepCountHistoryAsync Method

Returns time ordered list of step counts during given time period.

Namespace: Lumia.Sense
Assembly: Lumia.Sense (in Lumia.Sense.dll) Version: 255.255.255.255

function GetStepCountHistoryAsync(startTime, span);

Parameters

startTime
Type: System.DateTimeOffset
start time
span
Type: System.TimeSpan
time span

Return Value

Type: IAsyncOperation<IList<StepCounterReading>>
Step count history

ExceptionCondition
COMExceptionAll errors are thrown as instances of COMException. To get details about the error pass the HResult property of the exception to GetSenseError(Int32). This method can return the following SenseError enumeration values: InvalidParameter, SensorDeactivated, GeneralFailure, SenseDisabled, LocationDisabled
Show: