IPlaceMonitor.GetKnownPlaceAsync Method

Returns place matching the given place id. This method can be used to return any type of places: home, work, known and frequent.

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

function GetKnownPlaceAsync(id);

Parameters

id
Type: System.UInt32
Place id

Return Value

Type: IAsyncOperation<Place>
Queried Place.

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: