Interface IEasyCallControlFactory
Enables the creation of ISingleCallControl and IMultiCallControl objects which offer easy call control functionality on a specific connection that belongs on a specific device.
Namespace: Jabra.NET.Sdk.Modules.EasyCallControl.Types
Assembly: Jabra.NET.Sdk.dll
Syntax
public interface IEasyCallControlFactory
Remarks
Compared to the regular Call Control module, Easy Call Control automates device signal handling and command sequences.
Methods
CreateMultiCallControl(IDevice, MultiInitialState)
Creates a IMultiCallControl instance for a given device, enabling multi-call-control functionality.
Declaration
Task<IMultiCallControl> CreateMultiCallControl(IDevice device, MultiInitialState initialState = null)
Parameters
Type | Name | Description |
---|---|---|
IDevice | device | The device you wish to execute call control functionality on. |
MultiInitialState | initialState | An optional parameter, which sets the initial state of the created object. Use it when handling device changes. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IMultiCallControl> | The created IMultiCallControl instance for the given device. |
Remarks
IMultiCallControl includes APIs for setting a device on hold and handle multiple ongoing calls.
If you do not need to handle multiple ongoing calls, we advise you to use the ISingleCallControl interface instead - see CreateSingleCallControl(IDevice, SingleInitialState).
CreateSingleCallControl(IDevice, SingleInitialState)
Creates a ISingleCallControl instance for a given device, enabling single-call-control functionality.
Declaration
Task<ISingleCallControl> CreateSingleCallControl(IDevice device, SingleInitialState initialState = null)
Parameters
Type | Name | Description |
---|---|---|
IDevice | device | The device you wish to execute call control functionality on. |
SingleInitialState | initialState | An optional parameter, which sets the initial state of the created object. Use it when handling device changes. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ISingleCallControl> | The created ISingleCallControl instance for the given device. |
Remarks
This is a simple interface only containing the basic functionality for handling easy call control.
If you wish to handle multiple ongoing calls and being able to set a call on hold, we advise you to use the IMultiCallControl interface instead - see CreateMultiCallControl(IDevice, MultiInitialState).
SupportsEasyCallControl(IDevice)
Verifies whether a device supports easy call control or not.
Declaration
bool SupportsEasyCallControl(IDevice potentialDevice)
Parameters
Type | Name | Description |
---|---|---|
IDevice | potentialDevice | The device you wish to execute easy call control functionality on. |
Returns
Type | Description |
---|---|
System.Boolean |
|