Share via


PlaceMonitor.GetPlaceAtAsync Method

Gets the place at given time.

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

Syntax

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

Parameters

Return Value

Type: IAsyncOperation<Place>
Place at the given time

Implements

IPlaceMonitor.GetPlaceAtAsync(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: InvalidParameter, SensorDeactivated, GeneralFailure, NotFound, SenseDisabled, LocationDisabled

See Also

PlaceMonitor Class

PlaceMonitor.PlaceMonitor Members

Lumia.Sense Namespace