yodaRT.activity.Activity. TurenClient

Extends

Methods

setVtWords(vtWords) → {Promise.<void>}

set all vtWords.

Parameters:
Name Type Description
vtWords array.<object>
Returns:
Type:
Promise<void>

setEnabled(enabledopt) → {Promise.<boolean>}

Disable wake up processing engine if enabled is false, or enable the process if enabled is true. Switch enabled state if enabled is not set.

Turen would be re-enabled on app exits if app did not recover the states.

Parameters:
Name Type Attributes Description
enabled boolean <optional>

set turen wake up engine as disabled, switch if not given.

Returns:
Type:
Promise<boolean>

getEnabled() → {Promise.<boolean>}

Get if turen wake up engine is disabled.

Returns:
Type:
Promise<boolean>