ITrackPointMonitor.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
IAsyncOperation<TrackPoint> GetPointAtAsync(
DateTimeOffset timestamp
)
'Declaration
Function GetPointAtAsync (
timestamp As DateTimeOffset
) As IAsyncOperation(Of TrackPoint)
IAsyncOperation<TrackPoint^>^ GetPointAtAsync(
[InAttribute] DateTimeOffset timestamp
)
function GetPointAtAsync(timestamp);
Parameters
- timestamp
Type: System.DateTimeOffset
Time stamp
Return Value
Type: IAsyncOperation<TrackPoint>
Track point at the given time
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 |