EasyCallControlFactory.createMultiCallControl() method
Creates a IMultiCallControl instance for a given device, enabling multi-call-control functionality.
Signature
createMultiCallControl(device: IDevice, initialState?: IMultiInitialState): Promise<IMultiCallControl>;
Parameters
Parameter | Type | Description |
---|---|---|
device |
IDevice | An SDK device from which the call-control device will be constructed. |
initialState |
IMultiInitialState | Optional parameter: sets the initial state of the created object. Use it when handling device changes. |
Returns
Promise<IMultiCallControl>
A Promise which emits a new IMultiCallControl.
Remarks
This includes APIs for setting a device on hold and handle multiple ongoing calls.