javax.telephony.media.events
Interface MediaEv
- All Superinterfaces:
- Ev
- All Known Subinterfaces:
- MediaTermConnAvailableEv, MediaTermConnDtmfEv, MediaTermConnEv, MediaTermConnStateEv, MediaTermConnUnavailableEv
Deprecated. As of JTAPI 1.3, replaced by MediaEvent
- public interface MediaEv
- extends Ev
The MediaEv is the base event for all events in the Media
package. Each event in this package must extend this interface. This
interface is not meant to be a public interface, it is just a building
block for other event interfaces.
The MediaEv interface contains getMediaCause(), which returns
the reason for the event.
Field Summary |
static int |
CAUSE_NORMAL
Deprecated. Cause code indicating normal operation |
static int |
CAUSE_UNKNOWN
Deprecated. Cause code indicating the cause was 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 |
getMediaCause()
Deprecated. Returns the media and core causes associated with this event. |
CAUSE_NORMAL
public static final int CAUSE_NORMAL
- Deprecated.
- Cause code indicating normal operation
CAUSE_UNKNOWN
public static final int CAUSE_UNKNOWN
- Deprecated.
- Cause code indicating the cause was unknown
getMediaCause
public int getMediaCause()
- Deprecated.
- Returns the media and core causes associated with this event.
Every event has a cause. The various cause values are defined as public
static final variablies in this interface, with the exception of
CAUSE_NORMAL and CAUSE_UNKNOWN, which are defined in the core.
- Returns:
- The cause of the event.
Send comments to: JSR-43@ectf.org