JSR-043: JTAPI-1.4

javax.telephony.media.events
Interface MediaTermConnDtmfEv

All Superinterfaces:
CallEv, Ev, MediaEv, MediaTermConnEv, TermConnEv

Deprecated. As of JTAPI 1.3, replaced by MediaService

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
          Deprecated. Event id
 
Fields inherited from interface javax.telephony.media.events.MediaEv
CAUSE_NORMAL, CAUSE_UNKNOWN
 
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()
          Deprecated. Returns the DTMF-digit which has been recognized.
 
Methods inherited from interface javax.telephony.media.events.MediaEv
getMediaCause
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 
Methods inherited from interface javax.telephony.events.TermConnEv
getTerminalConnection
 
Methods inherited from interface javax.telephony.events.CallEv
getCall
 

Field Detail

ID

public static final int ID
Deprecated. 
Event id
Method Detail

getDtmfDigit

public char getDtmfDigit()
Deprecated. 
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.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org