Interface java.telephony.media.events.MediaTermConnDtmfEv
All Packages Class Hierarchy This Package Previous Next Index
Interface java.telephony.media.events.MediaTermConnDtmfEv
- public interface MediaTermConnDtmfEv
- extends Object
- extends MediaTermConnEv
The MediaTermConnDtmfEv interface indicates that a DTMF-tone has been
detection on the telephone line. This event interface extends the
java.telephony.events.TermConnEv interface, through which the application may
obtain the TerminalConnection object associated with this event.
Applications may obtain the detected DTMF-digit via the getDtmfDigit()
method on this interface.
-
ID
- Event id
-
getDtmfDigit()
- Returns the DTMF-digit which has been recognized.
ID
public final static int ID
- Event id
getDtmfDigit
public abstract char getDtmfDigit()
- Returns the DTMF-digit which has been recognized. This digit may either
be the numbers zero through nine (0-9), the asterisk (*), or the pound
(#).
- Returns:
- The DTMF-digit which has been detected.
All Packages Class Hierarchy This Package Previous Next Index