ISensor.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

Syntax

IAsyncAction DeactivateAsync()
'Declaration
Function DeactivateAsync As IAsyncAction
IAsyncAction^ DeactivateAsync()
function DeactivateAsync();

Return Value

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

See Also

ISensor Interface

ISensor.ISensor Members

Lumia.Sense Namespace