Share via


IPlaceMonitor.GetKnownPlacesAsync Method

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

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

Syntax

IAsyncOperation<IList<Place>> GetKnownPlacesAsync()
'Declaration
Function GetKnownPlacesAsync As IAsyncOperation(Of IList(Of Place))
IAsyncOperation<IList<Place^>^>^ GetKnownPlacesAsync()
function GetKnownPlacesAsync();

Return Value

Type: IAsyncOperation<IList<Place>>
The current list of known places.

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

IPlaceMonitor Interface

IPlaceMonitor.IPlaceMonitor Members

Lumia.Sense Namespace