net.java.sip.communicator.service.protocol.event
Class DTMFReceivedEvent
java.lang.Object
java.util.EventObject
net.java.sip.communicator.service.protocol.event.DTMFReceivedEvent
- All Implemented Interfaces:
- Serializable
public class DTMFReceivedEvent
- extends EventObject
DTMFReceivedEvents indicate reception of a DTMF tone.
- Author:
- Damian Minkov
- See Also:
- Serialized Form
|
Method Summary |
long |
getDuration()
Returns the tone duration for this event. |
DTMFTone |
getValue()
Returns the tone this event is indicating of. |
DTMFReceivedEvent
public DTMFReceivedEvent(ProtocolProviderService source,
DTMFTone value,
long duration)
- Creates a MessageReceivedEvent representing reception of the
source message received from the specified from
contact.
- Parameters:
source - the Message whose reception this event represents.value - dmtf tone valueduration - duration of the DTMF tone
getValue
public DTMFTone getValue()
- Returns the tone this event is indicating of.
- Returns:
- the tone this event is indicating of.
getDuration
public long getDuration()
- Returns the tone duration for this event.
- Returns:
- the tone duration for this event.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.