JSR-043: JTAPI-1.4

javax.telephony.phone.events
Interface PhoneEv

All Superinterfaces:
Ev
All Known Subinterfaces:
ButtonInfoEv, ButtonPressEv, DisplayUpdateEv, HookswitchStateEv, LampModeEv, MicrophoneGainEv, PhoneTermEv, RingerPatternEv, RingerVolumeEv, SpeakerVolumeEv

Deprecated. as of JTAPI 1.4, replaced by PhoneTerminalEvent

public interface PhoneEv
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.


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 getPhoneCause()
          Deprecated. Returns the phone and core causes associated with this event.
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 

Field Detail

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
Method Detail

getPhoneCause

public int getPhoneCause()
Deprecated. 
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:
The cause of the event.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org