public class TddModeCommand extends AbstractAgiCommand
Toggles TDD mode (for the deaf).
| Constructor and Description |
|---|
TddModeCommand(String mode)
Creates a new TDDModeCommand.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildCommand()
Returns a string suitable to be sent to asterisk.
|
String |
getMode()
Returns the mode to set.
|
void |
setMode(String mode)
Sets the mode to set.
|
escapeAndQuote, escapeAndQuote, setAsteriskVersion, toStringpublic TddModeCommand(String mode)
mode - the mode to set, this can be one of "on", "off", "mate" or "tdd".public String getMode()
public void setMode(String mode)
mode - the mode to set, this can be one of "on", "off", "mate" or "tdd".public String buildCommand()
AgiCommandbuildCommand in interface AgiCommandbuildCommand in class AbstractAgiCommandCopyright © 2004–2022. All rights reserved.