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

Interface java.telephony.phone.events.HookswitchStateEv

public interface HookswitchStateEv
extends Object
extends PhoneTermEv
The HookswitchStateEv interface extends the PhoneTermEv interface and is reported via the PhoneTermObserver interface. This event interface indicates that the state of the hookswitch component has changed.

Applications may obtain the new state of the hookswitch (either on-hook or off-hook) via the getHookSwitchState() method on this interface.


Variable Index

 o ID
Event id

Method Index

 o getHookSwitchState()
Returns the current state of the hookswitch.

Variables

 o ID
  public final static int ID
Event id

Methods

 o getHookSwitchState
  public abstract int getHookSwitchState()
Returns the current state of the hookswitch.

Returns:
The current state of the hookswitch.

All Packages  Class Hierarchy  This Package  Previous  Next  Index