StepCounterSimulator.GetStepCountHistoryAsync Method

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

Namespace: Lumia.Sense.Testing
Assembly: Lumia.Sense.Testing (in Lumia.Sense.Testing.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

Implements

IStepCounter.GetStepCountHistoryAsync(DateTimeOffset, TimeSpan)

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, GeneralFailure
Show: