Share via


ISensor.ActivateAsync Method

Re-establishes the communication channel with underlying sensor, if it doesn't already exist. Connection needs to be re-established when the application is brought to foreground.

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

Syntax

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

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