Class SingleInitialState
Optional initial state for ISingleCallControl.
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 SingleInitialState
Constructors
SingleInitialState(Boolean, Boolean)
Optional initial state for ISingleCallControl.
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 SingleInitialState(bool callActive = false, bool isMuted = false)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | callActive | Whether the device is in an active call or not. |
System.Boolean | isMuted | Whether the device is muted. Can only be |
Properties
CallActive
Set to true
to set device into a in-call state.
Declaration
public bool CallActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
If set to false
, the subsequent argument for IsMuted
will be ignored (setting mute state on an idle device is not supported).
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 CallActive is also set to true
.