ActivityMonitor.GetActivityAtAsync Method

Gets the device activity at given time.

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

function GetActivityAtAsync(timestamp);

Parameters

timestamp
Type: System.DateTimeOffset
Time stamp

Return Value

Type: IAsyncOperation<ActivityMonitorReading>
Activity at given time

Implements

IActivityMonitor.GetActivityAtAsync(DateTimeOffset)

ExceptionCondition
COMExceptionAll 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
Show: