Interface ISingleCallControl
Defines the necessary functionality for easy call control, when handling only one call at a time.
This functionality includes:
- being able to start an outgoing call,
- signaling an incoming call, and answer and reject it,
- mute/unmute the microphone,
- subscribing to device events, and
- ending a call.
Inherited Members
Namespace: Jabra.NET.Sdk.Modules.EasyCallControl.Types
Assembly: Jabra.NET.Sdk.dll
Syntax
public interface ISingleCallControl : IEasyCallControlBase
Remarks
All of this functionality is associated with a single physical device. For every connected Jabra headset, there is an additional instance of ISingleCallControl that is used to manipulate its call-related state and functionality.
Properties
CallActive
Emits a boolean signifying if the device is in call state or not.
Declaration
IObservable<bool> CallActive { get; }
Property Value
Type | Description |
---|---|
System.IObservable<System.Boolean> |
Methods
AcceptIncomingCall()
Accepts an incoming call and sets the device into call state.
Declaration
Task AcceptIncomingCall()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Remarks
If there is already an active call, it will be ended before accepting the incoming call.
The call can be accepted by the user by interacting with their device
or with your softphone.
In the first case, the incoming call will be automatically accepted
and SignalIncomingCall(Int32) will resolve with true
.
The second case requires your softphone to manually call this method,
before the incoming call is accepted and
SignalIncomingCall(Int32) is resolved with true
.
Exceptions
Type | Condition |
---|---|
JabraException | If an incoming call is not pending. |