PlaceMonitorSimulator.GetWorkAsync Method

Gets the work location.

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

function GetWorkAsync();

Return Value

Type: IAsyncOperation<Place>
The work place.

Implements

IPlaceMonitor.GetWorkAsync()

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