TrackPointMonitor.GetPointAtAsync Method

Returns a collected track point from the given time.

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

Syntax

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

Parameters

Return Value

Type: IAsyncOperation<TrackPoint>
Track point at the given time

Implements

ITrackPointMonitor.GetPointAtAsync(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

TrackPointMonitor Class

TrackPointMonitor.TrackPointMonitor Members

Lumia.Sense Namespace