Skip to content
Tracon

LiveVoiceSessionCreateResponse

Namespace Tracon · Assembly Tracon.AspNetCore.dll

The answer that opens a provider-hosted live voice session.

public sealed record LiveVoiceSessionCreateResponse : IEquatable<LiveVoiceSessionCreateResponse>

objectLiveVoiceSessionCreateResponse

IEquatable<LiveVoiceSessionCreateResponse>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public LiveVoiceSessionCreateResponse()

Gets the model the session is bound to.

[JsonPropertyName("model")]
public string? Model { get; init; }

string?

Gets whether the conversation’s transcript will be written to the session’s durable history.

[JsonPropertyName("persistTranscript")]
public required bool PersistTranscript { get; init; }

bool

Reported so that no recording happens silently. The user’s audio is never stored, but the text of what they say is durable while this is true.

Gets the SDP answer to hand to the media peer.

[JsonPropertyName("sdp")]
public required string Sdp { get; init; }

string

Gets Tracon’s identifier for the session.

[JsonPropertyName("voiceSessionId")]
public required Guid VoiceSessionId { get; init; }

Guid

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(LiveVoiceSessionCreateResponse? other)

other LiveVoiceSessionCreateResponse?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(LiveVoiceSessionCreateResponse?, LiveVoiceSessionCreateResponse?)

Section titled “ operator ==(LiveVoiceSessionCreateResponse?, LiveVoiceSessionCreateResponse?)”
public static bool operator ==(LiveVoiceSessionCreateResponse? left, LiveVoiceSessionCreateResponse? right)

left LiveVoiceSessionCreateResponse?

right LiveVoiceSessionCreateResponse?

bool

operator !=(LiveVoiceSessionCreateResponse?, LiveVoiceSessionCreateResponse?)

Section titled “ operator !=(LiveVoiceSessionCreateResponse?, LiveVoiceSessionCreateResponse?)”
public static bool operator !=(LiveVoiceSessionCreateResponse? left, LiveVoiceSessionCreateResponse? right)

left LiveVoiceSessionCreateResponse?

right LiveVoiceSessionCreateResponse?

bool