Package org.jitsi.service.neomedia.event
Class DTMFToneEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.jitsi.service.neomedia.event.DTMFToneEvent
-
- All Implemented Interfaces:
Serializable
public class DTMFToneEvent extends EventObject
This event represents starting or ending reception of a specific DTMFRtpTone.- Author:
- Emil Ivov
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description DTMFToneEvent(AudioMediaStream source, DTMFRtpTone dtmfTone)Creates an instance of this DTMFToneEvent with the specified source stream and DTMF tone.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DTMFRtpTonegetDtmfTone()Returns the DTMFTone instance that this event pertains to.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
DTMFToneEvent
public DTMFToneEvent(AudioMediaStream source, DTMFRtpTone dtmfTone)
Creates an instance of this DTMFToneEvent with the specified source stream and DTMF tone.- Parameters:
source- the AudioMediaSteam instance that received the tone.dtmfTone- the tone that we (started/stopped) receiving.
-
-
Method Detail
-
getDtmfTone
public DTMFRtpTone getDtmfTone()
Returns the DTMFTone instance that this event pertains to.- Returns:
- the DTMFTone instance that this event pertains to.
-
-