public class SpeechCreateCommand extends AbstractAgiCommand
Available since Asterisk 1.6.
SpeechDestroyCommand,
SpeechLoadGrammarCommand,
Serialized Form| Constructor and Description |
|---|
SpeechCreateCommand(String engine)
Creates a new SpeechCreateCommand for the given engine.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
String |
getEngine()
Returns the name of the speech engine to use for subsequent Speech AGI commands.
|
void |
setEngine(String engine)
Sets the name of the speech engine to use for subsequent Speech AGI commands.
|
escapeAndQuote, escapeAndQuote, setAsteriskVersion, toStringpublic SpeechCreateCommand(String engine)
engine - the name of the speech engine to use for subsequent Speech AGI commands.public String getEngine()
public void setEngine(String engine)
engine - the name of the speech engine to use for subsequent Speech AGI commands.public String buildCommand()
AgiCommandbuildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommandCopyright © 2004–2022. All rights reserved.