public class SpeechDeactivateGrammarCommand extends AbstractAgiCommand
Available since Asterisk 1.6.
SpeechActivateGrammarCommand,
Serialized Form| Constructor and Description |
|---|
SpeechDeactivateGrammarCommand(String name)
Creates a new SpeechDeactivateGrammarCommand that deacitvates the given grammer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
String |
getName()
Returns the name of the grammar.
|
void |
setName(String name)
Sets the name of the grammar.
|
escapeAndQuote, escapeAndQuote, setAsteriskVersion, toStringpublic SpeechDeactivateGrammarCommand(String name)
name - the name of the grammar.public String getName()
public void setName(String name)
name - the name of the grammar.public String buildCommand()
AgiCommandbuildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommandCopyright © 2004–2021. All rights reserved.