TrackPointMonitor.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<TrackPointMonitor> GetDefaultAsync()
'Declaration
Public Shared Function GetDefaultAsync As IAsyncOperation(Of TrackPointMonitor)
public:
static IAsyncOperation<TrackPointMonitor^>^ GetDefaultAsync()
Lumia.Sense.TrackPointMonitor.GetDefaultAsync = function();

Return Value

Type: IAsyncOperation<TrackPointMonitor>
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

See Also

TrackPointMonitor Class

TrackPointMonitor.TrackPointMonitor Members

Lumia.Sense Namespace