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.
-
ID
- Event id
-
getHookSwitchState()
- Returns the current state of the hookswitch.
ID
public final static int ID
- Event id
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