Class AlignmentResult
Result of POST /v1/audio/alignments.
public sealed class AlignmentResult
- Inheritance
-
AlignmentResult
- Inherited Members
Properties
Language
Language, when reported.
public string? Language { get; }
Property Value
Text
Aligned text, when echoed back.
public string? Text { get; }
Property Value
Timing
Run timing.
public AudioCppTiming? Timing { get; }
Property Value
Words
Word timestamps in seconds plus sample offsets.
public IReadOnlyList<AudioCppWord> Words { get; }
Property Value
Methods
Parse(string?)
Parses a cached response JSON (a disk cache hit rebuilds the result).
public static AlignmentResult Parse(string? json)
Parameters
jsonstringThe raw JSON response body.
Returns
- AlignmentResult
The parsed result; throws JsonException on null, invalid JSON, or a non-object root.