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
Syntax
public static IAsyncOperation<StepCounterSimulator> GetDefaultAsync(
SenseRecording recording,
DateTimeOffset startTime
)
'Declaration
Public Shared Function GetDefaultAsync (
recording As SenseRecording,
startTime As DateTimeOffset
) As IAsyncOperation(Of StepCounterSimulator)
public:
static IAsyncOperation<StepCounterSimulator^>^ GetDefaultAsync(
[InAttribute] SenseRecording^ recording,
[InAttribute] DateTimeOffset startTime
)
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
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 |