Class MultiInitialState
Optional initial state for IMultiCallControl.
Used to set the initial state if the device was changed in the middle of a call, or to recover the state after device disconnections.
Inheritance
Inherited Members
Namespace: Jabra.NET.Sdk.Modules.EasyCallControl
Assembly: Jabra.NET.Sdk.dll
Syntax
public sealed class MultiInitialState
Constructors
MultiInitialState(UInt32, Boolean, Boolean)
Optional initial state for IMultiCallControl.
Used to set the initial state if the device was changed in the middle of a call, or to recover the state after device disconnections.
Declaration
public MultiInitialState(uint ongoingCalls = 0U, bool isMuted = false, bool isOnHold = false)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | ongoingCalls | Whether the device is in an active call or not, and in how many calls is it in. |
System.Boolean | isMuted | Whether the device is muted. Can only be |
System.Boolean | isOnHold | Whether the active call is on hold. Can only be |
Properties
IsMuted
true
to mute the device and false
to unmute.
Declaration
public bool IsMuted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Can only be set to true
if OngoingCalls is a positive integer (greater than zero).
IsOnHold
true
to hold the device and false
to not hold the device.
Declaration
public bool IsOnHold { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Can only be set to true
if OngoingCalls is a positive integer (greater than zero).
OngoingCalls
Determines the number of ongoing calls at the time of initialization.
When set to 0
, no ongoing calls are happening.
Declaration
public uint OngoingCalls { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |