public class OperationSetIncomingDTMFJabberImpl extends java.lang.Object implements OperationSetIncomingDTMF, DTMFListener
Constructor and Description |
---|
OperationSetIncomingDTMFJabberImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addDTMFListener(DTMFListener listener)
Registers the specified DTMFListener with this provider so that it could
be notified when incoming DTMF tone is received.
|
void |
removeDTMFListener(DTMFListener listener)
Removes the specified listener from the list of DTMF listeners.
|
void |
toneReceived(DTMFReceivedEvent evt)
Called when a new incoming DTMFTone has been received.
|
public void addDTMFListener(DTMFListener listener)
OperationSetIncomingDTMF.addDTMFListener(net.java.sip.communicator.service.protocol.event.DTMFListener)
addDTMFListener
in interface OperationSetIncomingDTMF
listener
- the listener to register with this provider.public void removeDTMFListener(DTMFListener listener)
OperationSetIncomingDTMF.removeDTMFListener(net.java.sip.communicator.service.protocol.event.DTMFListener)
removeDTMFListener
in interface OperationSetIncomingDTMF
listener
- the listener to unregister.public void toneReceived(DTMFReceivedEvent evt)
DTMFListener.toneReceived(net.java.sip.communicator.service.protocol.event.DTMFReceivedEvent)
toneReceived
in interface DTMFListener
evt
- the DTMFReceivedEvent containing the newly
received tone.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.