API reference

ISpeechToTextTask Interface

Provider-agnostic Speech-to-Text. Implementations configure models on the asset.

Methods

TranscribeAsync ( audioBytes , language , ct )
Providers decide supported formats.
Signature
Task< string > TranscribeAsync(byte[] audioBytes, string language=null, CancellationToken ct=default)
Parameters
audioBytes: byte[]
language: string  Optional BCP-47 / ISO code like "en" (implementations may ignore).
ct: CancellationToken  Cancellation token.
Returns
Task< string >