Share via


PlaceMonitor.GetPlaceHistoryAsync Method

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

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

PlaceMonitor Class

PlaceMonitor.PlaceMonitor Members

Lumia.Sense Namespace