yodaRT.activity.Activity. ActivityTestClient

Extends

Methods

voiceCommand(text) → {Promise.<void>}

Send a voice command to the main process.

Parameters:
Name Type Description
text string

voice asr/text command to be parsed and executed.

Returns:
Type:
Promise<void>

voiceCommand(nlp, action) → {Promise.<void>}

Send a nlp command to the main process.

Parameters:
Name Type Description
nlp object

nlp command object.

action object

parsed nlp command to be executed.

Returns:
Type:
Promise<void>