JSR-043: JTAPI-1.4

javax.telephony.media.events
Interface MediaTermConnStateEv

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

Deprecated. As of JTAPI 1.3, replaced by MediaEvent

public interface MediaTermConnStateEv
extends MediaTermConnEv

Old JTAPI-1.2 event.

The MediaTermConnStateEv interface indicates that the playing/recording state has changed on the TerminalConnection object. 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 new state via the getMediaState() method on this interface, or via the MediaTerminalConnection.getMediaState() method.


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
 int getMediaState()
          Deprecated. Returns the current state of playing/recording on the TerminalConnection in the form of a bit mask.
 
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

getMediaState

public int getMediaState()
Deprecated. 
Returns the current state of playing/recording on the TerminalConnection in the form of a bit mask.

Returns:
The current playing/recording state.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org