Skip to main content
For Language Translation, the SDK always delivers two parallel streams of transcript events — one for the source language (what was spoken) and one for the target language (the translation). Both arrive as JSON strings through your TranscriptCallback.

Registering the callback

Event types

JSON schema

Example: print finalised text

JSON library. nlohmann/json is used in examples for brevity. Any JSON library works. Always wrap parsing in try/catch.