public interface DtmfDetector extends MediaSink
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_INTERDIGIT_INTERVAL
Default interdigit time interval in milliseconds.
|
static int |
DEFAULT_SIGNAL_DURATION
Default tone duration in milliseconds.
|
static int |
DEFAULT_SIGNAL_LEVEL
Default level of the DTMF tone in decibells.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Starts media processing.
|
void |
addListener(DtmfDetectorListener listener) |
void |
clearAllListeners() |
void |
clearDigits()
Clears buffer content.
|
void |
deactivate()
Terminates media processing.
|
void |
flushBuffer()
Flushes buffer.
|
int |
getInterdigitInterval()
The time the system will wait between DTMF digits.
|
int |
getVolume()
Describes the power level of the tone, expressed in dBm0
|
void |
removeListener(DtmfDetectorListener listener) |
getBytesReceived, getPacketsReceived, isStarted, performstatic final int DEFAULT_SIGNAL_LEVEL
static final int DEFAULT_SIGNAL_DURATION
static final int DEFAULT_INTERDIGIT_INTERVAL
int getInterdigitInterval()
int getVolume()
void deactivate()
deactivate in interface Componentvoid flushBuffer()
void clearDigits()
void addListener(DtmfDetectorListener listener) throws TooManyListenersException
TooManyListenersExceptionvoid removeListener(DtmfDetectorListener listener)
void clearAllListeners()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.