StepCounterSimulator.GetStepCountAtAsync Method

Gets the step count at given time.

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

Syntax

public IAsyncOperation<StepCounterReading> GetStepCountAtAsync(
    DateTimeOffset timestamp
)
'Declaration
Public Function GetStepCountAtAsync ( 
    timestamp As DateTimeOffset
) As IAsyncOperation(Of StepCounterReading)
public:
virtual IAsyncOperation<StepCounterReading^>^ GetStepCountAtAsync(
    [InAttribute] DateTimeOffset timestamp
) sealed
function GetStepCountAtAsync(timestamp);

Parameters

Return Value

Type: IAsyncOperation<StepCounterReading>
Step count at the given time

Implements

IStepCounter.GetStepCountAtAsync(DateTimeOffset)

Exceptions

Exception Condition
COMException All 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: GeneralFailure

See Also

StepCounterSimulator Class

StepCounterSimulator.StepCounterSimulator Members

Lumia.Sense.Testing Namespace