Share via


PlaceMonitorSimulator.GetPlaceHistoryAsync Method

Returns time ordered list of places visited during given time period.

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

Syntax

public IAsyncOperation<IList<Place>> GetPlaceHistoryAsync(
    DateTimeOffset startTime,
    TimeSpan span
)
'Declaration
Public Function GetPlaceHistoryAsync ( 
    startTime As DateTimeOffset,
    span As TimeSpan
) As IAsyncOperation(Of IList(Of Place))
public:
virtual IAsyncOperation<IList<Place^>^>^ GetPlaceHistoryAsync(
    [InAttribute] DateTimeOffset startTime, 
    [InAttribute] TimeSpan span
) sealed
function GetPlaceHistoryAsync(startTime, span);

Parameters

Return Value

Type: IAsyncOperation<IList<Place>>
Place history

Implements

IPlaceMonitor.GetPlaceHistoryAsync(DateTimeOffset, TimeSpan)

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: InvalidParameter, SensorDeactivated, GeneralFailure, SenseDisabled, LocationDisabled

See Also

PlaceMonitorSimulator Class

PlaceMonitorSimulator.PlaceMonitorSimulator Members

Lumia.Sense.Testing Namespace