Class 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
    • 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.