|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PhoneHookswitch
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 |
|---|
static final int ON_HOOK
static final int OFF_HOOK
| Method Detail |
|---|
void setHookSwitch(int hookSwitchState)
throws InvalidArgumentException
hookSwitchState - The desired state of the hook switch.
InvalidArgumentException - The provided hookswitch state is not
valid.int getHookSwitchState()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||