.NET API
SpeechDialogueSegment
Namespace Tracon · Assembly
Tracon.Abstractions.dllThe time range one turn takes in a dialogue’s audio.
public sealed record SpeechDialogueSegment : IEquatable<SpeechDialogueSegment>- Inheritance
- object ← SpeechDialogueSegment
- Implements
- IEquatable<SpeechDialogueSegment>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”SpeechDialogueSegment()
Section titled “ SpeechDialogueSegment()”public SpeechDialogueSegment()Properties
Section titled “Properties”Gets when the turn ends, relative to the start of the audio.
public required TimeSpan End { get; init; }Property Value
Section titled “Property Value”Gets when the turn starts, relative to the start of the audio.
public required TimeSpan Start { get; init; }Property Value
Section titled “Property Value”TurnIndex
Section titled “ TurnIndex”Gets the zero-based index of the turn in SpeechDialogueRequest.Turns.
public required int TurnIndex { get; init; }Property Value
Section titled “Property Value”VoiceId
Section titled “ VoiceId”Gets the voice that spoke the turn.
public required string VoiceId { 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(SpeechDialogueSegment?)
Section titled “ Equals(SpeechDialogueSegment?)”public bool Equals(SpeechDialogueSegment? other)Parameters
Section titled “Parameters”other SpeechDialogueSegment?
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 ==(SpeechDialogueSegment?, SpeechDialogueSegment?)
Section titled “ operator ==(SpeechDialogueSegment?, SpeechDialogueSegment?)”public static bool operator ==(SpeechDialogueSegment? left, SpeechDialogueSegment? right)Parameters
Section titled “Parameters”left SpeechDialogueSegment?
right SpeechDialogueSegment?
Returns
Section titled “Returns”operator !=(SpeechDialogueSegment?, SpeechDialogueSegment?)
Section titled “ operator !=(SpeechDialogueSegment?, SpeechDialogueSegment?)”public static bool operator !=(SpeechDialogueSegment? left, SpeechDialogueSegment? right)Parameters
Section titled “Parameters”left SpeechDialogueSegment?
right SpeechDialogueSegment?