|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ToneDetector
| Method Summary | |
|---|---|
void |
activate()
Starts media processing. |
void |
addListener(ToneDetectorListener listener)
|
void |
clearAllListeners()
|
void |
deactivate()
Terminates media processing. |
int[] |
getFrequency()
Gets the frequencies |
int |
getVolume()
Describes the power level of the tone, expressed in dBm0 |
void |
removeListener(ToneDetectorListener listener)
|
void |
setFrequency(int[] f)
Set frequencies of tone that detector should search for If tone detected the system fires tone event. |
void |
setVolume(int level)
Describes the power level of the tone, expressed in dBm0 |
| Methods inherited from interface org.mobicents.media.MediaSink |
|---|
getBytesReceived, getPacketsReceived, isStarted, perform |
| Methods inherited from interface org.mobicents.media.Component |
|---|
clearEndpoint, getEndpoint, getId, getName, reset, setEndpoint |
| Method Detail |
|---|
void setFrequency(int[] f)
int[] getFrequency()
void setVolume(int level)
level - the value in dBm0int getVolume()
void activate()
activate in interface Componentvoid deactivate()
deactivate in interface Component
void addListener(ToneDetectorListener listener)
throws TooManyListenersException
TooManyListenersExceptionvoid removeListener(ToneDetectorListener listener)
void clearAllListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||