Share via


PlaceMonitorSimulator.GetHomeAsync Method

Gets the home location.

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

Syntax

public IAsyncOperation<Place> GetHomeAsync()
'Declaration
Public Function GetHomeAsync As IAsyncOperation(Of Place)
public:
virtual IAsyncOperation<Place^>^ GetHomeAsync() sealed
function GetHomeAsync();

Return Value

Type: IAsyncOperation<Place>
The home place.

Implements

IPlaceMonitor.GetHomeAsync()

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

PlaceMonitorSimulator Class

PlaceMonitorSimulator.PlaceMonitorSimulator Members

Lumia.Sense.Testing Namespace