IEasyCallControlBase interface
Base interface containing APIs shared between ISingleCallControl and IMultiCallControl.
Signature
export declare interface IEasyCallControlBase
Properties
Property |
Modifiers |
Type |
Description |
device |
readonly |
IDevice |
The single physical device to which the easy call control functionalities are associated to. |
muteState |
|
Observable<MuteState> |
Emits the mute state of the device whenever that state changes. |
onDisconnect |
readonly |
Observable<void> |
Emits when the connection used for Easy Call Control gets disconnected. |
ringState |
|
Observable<boolean> |
Emits the ring state of the device whenever that state changes. |
Methods
Method |
Description |
endCall() |
Ends the current call. |
mute() |
Mutes the device (current API). |
rejectIncomingCall() |
Rejects an incoming call. |
signalIncomingCall(ringTimeout) |
Signals that there is an incoming call. The promise resolves only once the incoming call is either accepted or rejected. |
startCall() |
Sets the device into call state. |
teardown() |
Teardown the Easy Call Control instance. All state subscriptions will be stopped to avoid potential memory leaks, and the Call Lock will be released if taken. After using this method, you must create a new Easy Call Control instance to continue usage. |
unmute() |
Unmutes the device. |