Skip to main content
Version: 4.60

startSpeech

Starts to read the given text in the given language.

Field Configurations​

KeyTypeDescriptionDefault Value
"params"Objectundefinednull

Parameters​

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"language"StringThe language as a two letter language code with an optional country codenull
"queueMode"StringThe queue modenull
"text" (required)StringThe text the readnull

Inherited​

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples​

Example: Let the app read in english.​

Goal: The app should read a text in english.

To achieve this the following code can be used:

{
"type": "startSpeech",
"params": {
"text": "Hello There!",
"queueMode": "afterCurrent",
"language": "en-US",
"onError": "",
"onSuccess": ""
}
}

Result:

The app reads the text in english.