Get Information About the JS Interface of the Current Placement BX24.placement.getInterface
Scope:
placement
The method BX24.placement.getInterface allows you to retrieve information about the JS interface of the current placement: a list of available commands and events.
Parameters
Required parameters are marked with *
|
Name |
Description |
|
callback* |
Callback function. The
For example: the placement |
Code Example
How to Use Examples in Documentation
BX24.ready(function () {
BX24.init(function () {
BX24.placement.getInterface((result) => {
console.info(result);
});
});
});
Result
{"command":["getStatus", "disableAutoClose", "enableAutoClose" …],"event":[{"CallCard::EntityChanged", "CallCard::CallStateChanged", "CallCard::BeforeClose" …}]}
Continue Your Learning
- Get Information About the Call Context of BX24.placement.info
- Call the Registered Interface Command BX24.placement.call
- Set Up an Event Handler for the Interface BX24.placement.bindEvent
Copied
Previous