|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Phone hook switch interface.
| Field Summary | |
static int |
OFF_HOOK
The Hookswitch is OFF_HOOK. |
static int |
ON_HOOK
The Hookswitch is ON_HOOK. |
| Method Summary | |
int |
getHookSwitchState()
Returns the current state of the hookswitch. |
void |
setHookSwitch(int hookSwitchState)
Sets the state of the hookswitch to either ON_HOOK or OFF_HOOK. |
| Methods inherited from interface javax.telephony.phone.Component |
getCapabilities, getName |
| Field Detail |
public static final int ON_HOOK
public static final int OFF_HOOK
| Method Detail |
public void setHookSwitch(int hookSwitchState)
throws InvalidArgumentException
hookSwitchState - The desired state of the hook switch.
InvalidArgumentException - The provided hookswitch state is not
valid.public int getHookSwitchState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||