TsgcAIOpenAITranslator › Events

TsgcAIOpenAITranslator Events

Events you can handle, grouped by purpose, followed by the full alphabetical list.

Translation

NameDescription
OnTranslationFires when the OpenAI Whisper API returns the translated text; lets the application inspect, edit, or discard the translation.

Audio

NameDescription
OnAudioStartFires as soon as the assigned audio recorder begins capturing microphone input.
OnAudioStopFires when the audio recorder has finished capturing, right before the file is sent to the Whisper API.

All Events (alphabetical)

NameDescription
OnAudioStartFires as soon as the assigned audio recorder begins capturing microphone input.
OnAudioStopFires when the audio recorder has finished capturing, right before the file is sent to the Whisper API.
OnTranslationFires when the OpenAI Whisper API returns the translated text; lets the application inspect, edit, or discard the translation.