Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
You're viewing the documentation for the new NiCE Cognigy platform. For NiCE Cognigy Classic, see the Classic documentation.
Removes previously registered event listeners from a Click To Call client.
client.off<T extends EventName>(event: T, callback: EventCallback<T>): this;
event
EventName
callback
EventCallback<T>
this
on()
const onAnswered = (session) => { console.log('Call answered:', session.id); }; // Subscribe client.on('answered', onAnswered); // Unsubscribe client.off('answered', onAnswered);