StepCounterSimulator.GetDefaultAsync Method (SenseRecording, DateTimeOffset)

Gets the default implementation.

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

Lumia.Sense.Testing.StepCounterSimulator.GetDefaultAsync = function(recording, startTime);

Parameters

recording
Type: Lumia.Sense.Testing.SenseRecording
Sensor recording
startTime
Type: System.DateTimeOffset
Start time for simulation.

Return Value

Type: IAsyncOperation<StepCounterSimulator>
The default implementation

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