javax.telephony.phone.events
Interface ButtonInfoEv

All Superinterfaces:
Ev, PhoneEv, PhoneTermEv, TermEv

public interface ButtonInfoEv
extends PhoneTermEv

The ButtonInfoEv interface extends the PhoneTermEv interface and is reported via the PhoneTermObserver interface. This event interface indicates the information associated with a button component has changed.

Avaya is providing its backward-compatible Observer model implementation in this release; in the specification this interface is deprecated as of JTAPI 1.4, replaced by PhoneTerminalEvent

Applications may obtain the new information associated with this button via the getInfo() method on this interface. The old information (before the change) may be obtained via the getOldInfo() method on this interface.


Field Summary
static int ID
          Event id
 
Fields inherited from interface javax.telephony.phone.events.PhoneEv
CAUSE_NORMAL, CAUSE_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
 java.lang.String getInfo()
          Returns the button information.
 java.lang.String getOldInfo()
          Returns the information previously associated with this button.
 
Methods inherited from interface javax.telephony.phone.events.PhoneTermEv
getComponent, getComponentGroup
 
Methods inherited from interface javax.telephony.phone.events.PhoneEv
getPhoneCause
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 
Methods inherited from interface javax.telephony.events.TermEv
getTerminal
 

Field Detail

ID

public static final int ID
Event id

See Also:
Constant Field Values
Method Detail

getInfo

public java.lang.String getInfo()
Returns the button information.

Returns:
The string button information.

getOldInfo

public java.lang.String getOldInfo()
Returns the information previously associated with this button.

Returns:
The old button information.


Copyright © 2005 Avaya All Rights Reserved.