PlaceMonitor.IsSupportedAsync Method
Returns whether the sensor is supported by the device or not.
Namespace: Lumia.Sense
Assembly: Lumia.Sense (in Lumia.Sense.dll) Version: 255.255.255.255
Syntax
public static IAsyncOperation<bool> IsSupportedAsync()
'Declaration
Public Shared Function IsSupportedAsync As IAsyncOperation(Of Boolean)
public:
static IAsyncOperation<bool>^ IsSupportedAsync()
Lumia.Sense.PlaceMonitor.IsSupportedAsync = function();
Return Value
Type: IAsyncOperation<Boolean>
true if the sensor is supported, false otherwise
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: LocationDisabled |