# LiveVoiceSessionOptions

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.livevoicesessionoptions/
> Summary: LiveVoiceSessionOptions: The settings of one live voice session.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

The settings of one live voice session.

```csharp
public sealed record LiveVoiceSessionOptions : IEquatable<LiveVoiceSessionOptions>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.livevoicesessionoptions/">LiveVoiceSessionOptions</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;LiveVoiceSessionOptions&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_LiveVoiceSessionOptions__ctor"></a> LiveVoiceSessionOptions\(\)

```csharp
public LiveVoiceSessionOptions()
```

## Properties

### <a id="Tracon_LiveVoiceSessionOptions_DelegationMode"></a> DelegationMode

Gets how the live model hands work back. The default is [LiveVoiceDelegationMode.Client](/api/tracon.livevoicedelegationmode/).

```csharp
public LiveVoiceDelegationMode DelegationMode { get; init; }
```

#### Property Value

 [LiveVoiceDelegationMode](/api/tracon.livevoicedelegationmode/)

### <a id="Tracon_LiveVoiceSessionOptions_Instructions"></a> Instructions

Gets the system instructions given to the live model.

```csharp
public string? Instructions { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_LiveVoiceSessionOptions_Model"></a> Model

Gets the model; [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) uses the provider's configured default.

```csharp
public string? Model { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_LiveVoiceSessionOptions_Voice"></a> Voice

Gets the output voice; [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) uses the provider's default.

```csharp
public string? Voice { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

## Methods

### <a id="Tracon_LiveVoiceSessionOptions_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_LiveVoiceSessionOptions_Equals_Tracon_LiveVoiceSessionOptions_"></a> Equals\(LiveVoiceSessionOptions?\)

```csharp
public bool Equals(LiveVoiceSessionOptions? other)
```

#### Parameters

`other` [LiveVoiceSessionOptions](/api/tracon.livevoicesessionoptions/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_LiveVoiceSessionOptions_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_LiveVoiceSessionOptions_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_LiveVoiceSessionOptions_op_Equality_Tracon_LiveVoiceSessionOptions_Tracon_LiveVoiceSessionOptions_"></a> operator ==\(LiveVoiceSessionOptions?, LiveVoiceSessionOptions?\)

```csharp
public static bool operator ==(LiveVoiceSessionOptions? left, LiveVoiceSessionOptions? right)
```

#### Parameters

`left` [LiveVoiceSessionOptions](/api/tracon.livevoicesessionoptions/)?

`right` [LiveVoiceSessionOptions](/api/tracon.livevoicesessionoptions/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_LiveVoiceSessionOptions_op_Inequality_Tracon_LiveVoiceSessionOptions_Tracon_LiveVoiceSessionOptions_"></a> operator \!=\(LiveVoiceSessionOptions?, LiveVoiceSessionOptions?\)

```csharp
public static bool operator !=(LiveVoiceSessionOptions? left, LiveVoiceSessionOptions? right)
```

#### Parameters

`left` [LiveVoiceSessionOptions](/api/tracon.livevoicesessionoptions/)?

`right` [LiveVoiceSessionOptions](/api/tracon.livevoicesessionoptions/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
