Create an input control for entry of speech recognition text values.
1 | speechInput(inputId, command = "hey shiny *message", label = NULL)
|
inputId |
The input slot that will be used to access the value. |
command |
The voice command that will activate the speechInput. The
voice command must be exactly matched in order to send a value to the
speechInput. To capture particular parts of the command, there are two
symbols: "*" and ":". "*" captures any number of words, meanwhile ":"
captures exactly one word. Moreover, to make words optional, they should be
put between "(" and ")".
|
label |
Display label, or NULL for no label. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.