public class DTMFReceivedEvent
extends java.util.EventObject
Constructor and Description |
---|
DTMFReceivedEvent(java.lang.Object source,
org.jitsi.service.neomedia.DTMFTone value,
boolean start)
Creates a MessageReceivedEvent representing reception of the
source message received from the specified from
contact.
|
DTMFReceivedEvent(java.lang.Object source,
org.jitsi.service.neomedia.DTMFTone value,
long duration)
Creates a MessageReceivedEvent representing reception of the
source message received from the specified from
contact.
|
DTMFReceivedEvent(java.lang.Object source,
org.jitsi.service.neomedia.DTMFTone value,
long duration,
java.lang.Boolean start)
Creates a MessageReceivedEvent representing reception of the
source message received from the specified from
contact.
|
Modifier and Type | Method and Description |
---|---|
long |
getDuration()
Returns the tone duration for this event.
|
java.lang.Boolean |
getStart()
Returns the value of the start attribute of this
DTMFReceivedEvent, which indicates whether this
DTMFReceivedEvent represents the start of reception of a tone
(if true), the end of reception of a tone (if false),
or the reception of a tone with a given duration (if null).
|
org.jitsi.service.neomedia.DTMFTone |
getValue()
Returns the tone this event is indicating of.
|
public DTMFReceivedEvent(java.lang.Object source, org.jitsi.service.neomedia.DTMFTone value, boolean start)
source
- the source of the event.value
- dmtf tone value.start
- whether this event represents the start of reception (if
true), the end of reception (if false) or the reception
of a tone with a given direction (if null).public DTMFReceivedEvent(java.lang.Object source, org.jitsi.service.neomedia.DTMFTone value, long duration)
source
- the source of the event.value
- dmtf tone value.duration
- duration of the DTMF tone.public DTMFReceivedEvent(java.lang.Object source, org.jitsi.service.neomedia.DTMFTone value, long duration, java.lang.Boolean start)
source
- the source of the event.value
- dmtf tone value.duration
- duration of the DTMF tone.start
- whether this event represents the start of reception (if
true), the end of reception (if false) or the reception
of a tone with a given direction (if null).public org.jitsi.service.neomedia.DTMFTone getValue()
public long getDuration()
public java.lang.Boolean getStart()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.