Interface java.telephony.media.events.MediaEv
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.telephony.media.events.MediaEv

public interface MediaEv
extends Object
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.


Variable Index

 o CAUSE_NORMAL
Cause code indicating normal operation
 o CAUSE_UNKNOWN
Cause code indicating the cause was unknown

Method Index

 o getMediaCause()
Returns the media and core causes associated with this event.

Variables

 o CAUSE_NORMAL
  public final static int CAUSE_NORMAL
Cause code indicating normal operation
 o CAUSE_UNKNOWN
  public final static int CAUSE_UNKNOWN
Cause code indicating the cause was unknown

Methods

 o getMediaCause
  public abstract int getMediaCause()
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:
s The cause of the event.

All Packages  Class Hierarchy  This Package  Previous  Next  Index