Change the state of the call card interface from the CallCardSetUiState application
We are still updating this page
Some data may be missing here — we will complete it soon.
Scope:
telephonyWho can execute the method: any user
The CallCardSetUiState method allows the application to change the state of the call card interface.
The application must pass an object with the property uiState to the method, where the value should be one of those obtained from the getListUiStates method. No data is passed to the callback function.
Example
BX24.placement.bindEvent('BackgroundCallCard::initialized', event => {
BX24.placement.call('CallCardSetUiState', {uiState: 'connected'}, () => {
// some code
})
});
How to Use Examples in Documentation
Copied