|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Terminal
A Terminal represents a telephony endpoint managed by a JVoiceXML provider - i.e. It is the line that a person calls to interact with a VoiceXML application.
| Method Summary | |
|---|---|
void |
answer()
Answers an incoming call. |
String |
getName()
Returns the terminal's name. |
void |
hangup()
Hangs up a call that's currently in progress. |
void |
playFile(String filename)
Plays the specified file. |
void |
record(String filename)
Records incoming audio (i.e. |
void |
setName(String name)
Sets the terminal's name. |
| Method Detail |
|---|
String getName()
void setName(String name)
name - The terminal's namevoid answer()
void hangup()
void playFile(String filename)
filename - The name of the file to playvoid record(String filename)
filename - The name of the file in which incoming audio
is recorded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||