javax.telephony.media.events
Interface MediaTermConnDtmfEv
- All Superinterfaces:
- CallEv, Ev, MediaEv, MediaTermConnEv, TermConnEv
- public interface MediaTermConnDtmfEv
- extends MediaTermConnEv
The MediaTermConnDtmfEv interface indicates that a DTMF-tone has been
detection on the telephone line. This event interface extends the
javax.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.
Field Summary |
static int |
ID
Event id |
Fields inherited from interface javax.telephony.events.Ev |
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN |
Method Summary |
char |
getDtmfDigit()
Returns the DTMF-digit which has been recognized. |
Methods inherited from interface javax.telephony.events.CallEv |
getCall |
ID
public static final int ID
- Event id
- See Also:
- Constant Field Values
getDtmfDigit
public 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.
Copyright © 2005 Avaya All Rights Reserved.