ActivityMonitor.DeactivateAsync Method

Closes the communication channel with underlying sensor. Connection must be closed whenever application is put to background.

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

function DeactivateAsync();

Return Value

Type: IAsyncAction
Returns an IAsyncAction object that is used to control the asynchronous operation.

Implements

ISensor.DeactivateAsync()

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: GeneralFailure
Show: