Home > @gnaudio/jabra-js > ICallControl > offHook
#
ICallControl.offHook() methodInforms the Jabra device that there's a change in the call status.
Signature:#
ParametersParameter | 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
#
ExceptionsIf a call lock was not acquired prior to execution. See ICallControl.takeCallLock() for more details.
#
RemarksThis controls if the device considers itself in an active call. When offHook is true, a call is ongoing, otherwise there is no active call.