Class TranscriptExtensions
- Namespace
- AssemblyAI.Transcripts
- Assembly
- AssemblyAI.dll
public static class TranscriptExtensions
- Inheritance
-
TranscriptExtensions
- Inherited Members
Methods
EnsureStatusCompleted(Transcript)
Throws an exception if the transcript status is not "completed".
public static void EnsureStatusCompleted(this Transcript transcript)
Parameters
transcript
TranscriptThe transcript
Exceptions
- TranscriptNotCompletedStatusException
The exception is thrown if the transcript status is not "completed". The exception contains the transcript, so you can access the status and error message.