Files

18 lines
476 B
C#
Raw Permalink Normal View History

2026-08-10 11:27:28 +00:00
namespace Robovoice.Core;
public interface ISttSource : IAsyncDisposable
{
event TranscriptEventHandler? TranscriptReceived;
2026-08-10 11:27:28 +00:00
Task StartAsync(CancellationToken ct = default);
Task StopAsync(CancellationToken ct = default);
}
public sealed class TranscriptEventArgs : EventArgs
{
public TranscriptMessage Message { get; init; } = new(TranscriptType.Final, string.Empty);
}
public delegate void TranscriptEventHandler(object? sender, TranscriptEventArgs e);