|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.fastagi.command.AbstractAgiCommand
org.asteriskjava.fastagi.command.SpeechCreateCommand
public class SpeechCreateCommand
Creates a speech object to be used by the other Speech AGI commands.
Available since Asterisk 1.6.
SpeechDestroyCommand
,
SpeechLoadGrammarCommand
,
Serialized FormConstructor Summary | |
---|---|
SpeechCreateCommand(java.lang.String engine)
Creates a new SpeechCreateCommand for the given engine. |
Method Summary | |
---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
java.lang.String |
getEngine()
Returns the name of the speech engine to use for subsequent Speech AGI commands. |
void |
setEngine(java.lang.String engine)
Sets the name of the speech engine to use for subsequent Speech AGI commands. |
Methods inherited from class org.asteriskjava.fastagi.command.AbstractAgiCommand |
---|
escapeAndQuote, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpeechCreateCommand(java.lang.String engine)
engine
- the name of the speech engine to use for subsequent Speech AGI commands.Method Detail |
---|
public java.lang.String getEngine()
public void setEngine(java.lang.String engine)
engine
- the name of the speech engine to use for subsequent Speech AGI commands.public java.lang.String buildCommand()
AgiCommand
buildCommand
in interface AgiCommand
buildCommand
in class AbstractAgiCommand
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |