javax.telephony.media.events
Interface MediaTermConnStateEv
- All Superinterfaces:
- CallEv, Ev, MediaEv, MediaTermConnEv, TermConnEv
- public interface MediaTermConnStateEv
- extends MediaTermConnEv
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
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 |
int |
getMediaState()
Returns the current state of playing/recording on the TerminalConnection
in the form of a bit mask. |
Methods inherited from interface javax.telephony.events.CallEv |
getCall |
ID
public static final int ID
- Event id
- See Also:
- Constant Field Values
getMediaState
public int getMediaState()
- Returns the current state of playing/recording on the TerminalConnection
in the form of a bit mask.
- Returns:
- The current playing/recording state.
Copyright © 2005 Avaya All Rights Reserved.