Home > @gnaudio/jabra-js > ICallControl > offHook
ICallControl.offHook() method#
Informs the Jabra device that there's a change in the call status.
Signature:Parameters#
| Parameter | Type | Description |
|---|---|---|
| isOffHook | boolean | The new offHook status of the device. Use true when a call becomes active, regardless of call type (outgoing or incoming). Use false when a call has ended and the device is no longer used. |
void
Exceptions#
If a call lock was not acquired prior to execution. See ICallControl.takeCallLock() for more details.
Remarks#
This controls if the device considers itself in an active call. When offHook is true, a call is ongoing, otherwise there is no active call.