public class PlayCollect extends AbstractMgcpSignal
If no digits are entered or an invalid digit pattern is entered, the user may be reprompted and given another chance to enter a correct pattern of digits. The following digits are supported: 0-9, *, #, A, B, C, D.
By default PlayCollect does not play an initial prompt, makes only one attempt to collect digits, and therefore functions as
a simple Collect operation.
Various special purpose keys, key sequences, and key sets can be defined for use during the PlayCollect operation.
executing| Constructor and Description |
|---|
PlayCollect(Player player,
DtmfDetector detector,
int requestId,
Map<String,String> parameters,
com.google.common.util.concurrent.ListeningScheduledExecutorService executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the executing signal.
No action is taken if signal is not executing. |
void |
execute()
Executes the signal.
|
protected boolean |
isParameterSupported(String name) |
equals, forget, getName, getParameter, getRequestId, getSignalType, getSymbol, isExecuting, notify, observe, toStringpublic PlayCollect(Player player, DtmfDetector detector, int requestId, Map<String,String> parameters, com.google.common.util.concurrent.ListeningScheduledExecutorService executor)
protected boolean isParameterSupported(String name)
isParameterSupported in class AbstractMgcpSignalpublic void execute()
MgcpSignalpublic void cancel()
MgcpSignalCopyright © 2017 TeleStax, Inc.. All Rights Reserved.