public class SpeechSetCommand extends AbstractAgiCommand
Sets a speech engine setting.
| Constructor and Description |
|---|
SpeechSetCommand(String name,
String value)
Creates a new SpeechSetCommand that sets the setting indicated by name to the given value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
String |
getName()
Returns the name of the setting to set.
|
String |
getValue()
Returns the value to set.
|
void |
setName(String name)
Sets the name of the setting to set.
|
void |
setValue(String value)
Sets the value to set.
|
escapeAndQuote, escapeAndQuote, setAsteriskVersion, toStringpublic String getName()
public void setName(String name)
name - the name of the setting to set.public String getValue()
public void setValue(String value)
value - the value to set.public String buildCommand()
AgiCommandbuildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommandCopyright © 2004–2024. All rights reserved.