PlaceMonitorSimulator.GetKnownPlacesAsync Method

Gets the set of currently known places. This includes all types of places: home, work, known and frequent.

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

Syntax

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

Return Value

Type: IAsyncOperation<IList<Place>>
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: GeneralFailure The current list of known places.

Implements

IPlaceMonitor.GetKnownPlacesAsync()

See Also

PlaceMonitorSimulator Class

PlaceMonitorSimulator.PlaceMonitorSimulator Members

Lumia.Sense.Testing Namespace