I am confused about the usecase of this.
Can I use this on the page to invoke some functions on parent end to determine if, for example, the chat session has ended?
For example this method (docs):
Can the Integration Toolkit be used on side of our application and let invoke parent-side JS functions? Or it's use case is different?
The reason I am asking is because to use Integration Toolkit the domain where I use it has to be whitelisted in the settings, otherwise it's method are not available on the page and the error is thrown in the console:
Service Cloud Toolkit API cannot be used with your browser.
Thus, I can not test if the method works, and to add the domain to whitelist I need to get the information whether it's right to use the Toolkit in such a way.