.NET API
LiveVoiceSessionCreateRequest
Namespace Tracon · Assembly
Tracon.AspNetCore.dllThe request that opens a provider-hosted live voice session.
public sealed record LiveVoiceSessionCreateRequest : IEquatable<LiveVoiceSessionCreateRequest>Inheritance
Section titled “Inheritance”object ← LiveVoiceSessionCreateRequest
Implements
Section titled “Implements”IEquatable<LiveVoiceSessionCreateRequest>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”LiveVoiceSessionCreateRequest()
Section titled “ LiveVoiceSessionCreateRequest()”public LiveVoiceSessionCreateRequest()Properties
Section titled “Properties”Gets the agent to talk to.
[JsonPropertyName("agent")]public required string Agent { get; init; }Property Value
Section titled “Property Value”Gets the media peer’s SDP offer.
[JsonPropertyName("sdp")]public required string Sdp { get; init; }Property Value
Section titled “Property Value”SessionId
Section titled “ SessionId”Gets the agent session the conversation runs in.
[JsonPropertyName("sessionId")]public required string SessionId { get; init; }Property Value
Section titled “Property Value”Gets the requested output voice; null leaves the configured default.
[JsonPropertyName("voice")]public string? Voice { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(LiveVoiceSessionCreateRequest?)
Section titled “ Equals(LiveVoiceSessionCreateRequest?)”public bool Equals(LiveVoiceSessionCreateRequest? other)Parameters
Section titled “Parameters”other LiveVoiceSessionCreateRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(LiveVoiceSessionCreateRequest?, LiveVoiceSessionCreateRequest?)
Section titled “ operator ==(LiveVoiceSessionCreateRequest?, LiveVoiceSessionCreateRequest?)”public static bool operator ==(LiveVoiceSessionCreateRequest? left, LiveVoiceSessionCreateRequest? right)Parameters
Section titled “Parameters”left LiveVoiceSessionCreateRequest?
right LiveVoiceSessionCreateRequest?
Returns
Section titled “Returns”operator !=(LiveVoiceSessionCreateRequest?, LiveVoiceSessionCreateRequest?)
Section titled “ operator !=(LiveVoiceSessionCreateRequest?, LiveVoiceSessionCreateRequest?)”public static bool operator !=(LiveVoiceSessionCreateRequest? left, LiveVoiceSessionCreateRequest? right)Parameters
Section titled “Parameters”left LiveVoiceSessionCreateRequest?
right LiveVoiceSessionCreateRequest?