PlaceMonitor.GetDefaultAsync Method
Gets the default implementation.
Namespace: Lumia.Sense
Assembly: Lumia.Sense (in Lumia.Sense.dll) Version: 255.255.255.255
Syntax
public static IAsyncOperation<PlaceMonitor> GetDefaultAsync()
'Declaration
Public Shared Function GetDefaultAsync As IAsyncOperation(Of PlaceMonitor)
public:
static IAsyncOperation<PlaceMonitor^>^ GetDefaultAsync()
Lumia.Sense.PlaceMonitor.GetDefaultAsync = function();
Return Value
Type: IAsyncOperation<PlaceMonitor>
The default implementation. Throws exception if sensor is not supported on the device.
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: SenseNotAvailable, SenseDisabled, LocationDisabled, IncompatibleSDK, GeneralFailure |