.NET API
LiveVoiceEvent
Tracon.Abstractions.dllOne event observed on a live voice session’s sideband.
public sealed record LiveVoiceEvent : IEquatable<LiveVoiceEvent>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”A single record with optional fields, distinguished by LiveVoiceEvent.Kind. The growth surface is the record and the enum, not the interface: a provider that reports a new fact adds a field here without breaking a consumer.
Constructors
Section titled “Constructors”LiveVoiceEvent()
Section titled “ LiveVoiceEvent()”public LiveVoiceEvent()Properties
Section titled “Properties”DelegationId
Section titled “ DelegationId”Gets the delegation this event belongs to.
public string? DelegationId { get; init; }Property Value
Section titled “Property Value”EndMilliseconds
Section titled “ EndMilliseconds”Gets when a transcript segment ends, in milliseconds from the session’s start.
public int? EndMilliseconds { get; init; }Property Value
Section titled “Property Value”int?
ItemId
Section titled “ ItemId”Gets the provider’s identifier for the conversation item, when it carries one.
public string? ItemId { get; init; }Property Value
Section titled “Property Value”Gets what the event says.
public required LiveVoiceEventKind Kind { get; init; }Property Value
Section titled “Property Value”OffsetMilliseconds
Section titled “ OffsetMilliseconds”Gets the point in the conversation, in milliseconds from the session’s start, that a delegation was cut at.
public int? OffsetMilliseconds { get; init; }Property Value
Section titled “Property Value”int?
Remarks
Section titled “Remarks”This answers “which part of the conversation is the delegated task”. It is the start of the last utterance segment before the delegation, so a cut that keeps every entry starting at or before it includes that segment.
Reason
Section titled “ Reason”Gets the provider’s stated reason for a close.
public string? Reason { get; init; }Property Value
Section titled “Property Value”Seconds
Section titled “ Seconds”Gets the session duration the provider reports as billable, in seconds.
public decimal? Seconds { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”The provider’s number, not a wall clock. Tracon does not see the media and therefore cannot measure the duration itself; when the provider reports none, the duration stays null rather than being invented.
SessionId
Section titled “ SessionId”Gets the provider’s session identifier, when the event carries one.
public string? SessionId { get; init; }Property Value
Section titled “Property Value”StartMilliseconds
Section titled “ StartMilliseconds”Gets when a transcript segment begins, in milliseconds from the session’s start.
public int? StartMilliseconds { get; init; }Property Value
Section titled “Property Value”int?
Gets the text of a transcript delta or of an error.
public string? Text { 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(LiveVoiceEvent?)
Section titled “ Equals(LiveVoiceEvent?)”public bool Equals(LiveVoiceEvent? other)Parameters
Section titled “Parameters”other LiveVoiceEvent?
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 ==(LiveVoiceEvent?, LiveVoiceEvent?)
Section titled “ operator ==(LiveVoiceEvent?, LiveVoiceEvent?)”public static bool operator ==(LiveVoiceEvent? left, LiveVoiceEvent? right)Parameters
Section titled “Parameters”left LiveVoiceEvent?
right LiveVoiceEvent?
Returns
Section titled “Returns”operator !=(LiveVoiceEvent?, LiveVoiceEvent?)
Section titled “ operator !=(LiveVoiceEvent?, LiveVoiceEvent?)”public static bool operator !=(LiveVoiceEvent? left, LiveVoiceEvent? right)Parameters
Section titled “Parameters”left LiveVoiceEvent?
right LiveVoiceEvent?