Interface java.telephony.phone.events.PhoneEv
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.telephony.phone.events.PhoneEv

public interface PhoneEv
extends Object
extends Ev
The PhoneEv is the base event for all events in the Phone 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 PhoneEv interface contains getPhoneCause(), 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 getPhoneCause()
Returns the phone 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 getPhoneCause
  public abstract int getPhoneCause()
Returns the phone 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