IActivityMonitor.GetCurrentReadingAsync Method

Gets the current activity

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

Syntax

IAsyncOperation<ActivityMonitorReading> GetCurrentReadingAsync()
'Declaration
Function GetCurrentReadingAsync As IAsyncOperation(Of ActivityMonitorReading)
IAsyncOperation<ActivityMonitorReading^>^ GetCurrentReadingAsync()
function GetCurrentReadingAsync();

Return Value

Type: IAsyncOperation<ActivityMonitorReading>
Current activity

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: SensorDeactivated, GeneralFailure, SenseDisabled, LocationDisabled

See Also

IActivityMonitor Interface

IActivityMonitor.IActivityMonitor Members

Lumia.Sense Namespace