Speech-to-text support with manual mic trigger?

Hey everyone,

I’m looking into speech-to-text support on VegaOS and wanted to check whether there’s a recommended way to handle this.

The experience I’m trying to build is:

  • the user presses and holds a button in the app

  • the app starts listening while the button is held

  • when the user releases the button, the recognized text is inserted into an input field

On Android TV, SpeechRecognizer makes this kind of flow possible: SpeechRecognizer

I went through the VegaOS docs but couldn’t find an equivalent API for app-level speech recognition.

Is there any VegaOS API that supports this kind of manual mic-triggered speech-to-text flow? Or is the only supported option today to rely on the software keyboard / system input experience?

If anyone has handled something similar, I’d really appreciate any pointers.

Speech-to-text support “just works” through the platform’s built-in keyboard when you hit a focused TextInput. You will see a microphone icon in the built-in virtual keyboard - press and hold alexa button and speak.

Thanks for the clarification!

In that case, it sounds like there isn’t really a way to implement this through a custom soft button outside of the built-in keyboard, at least not in the same way it can be done on Android TV with SpeechRecognizer.

Hi @kamilkedzierskicallstack,

Thanks for the detailed question and for your patience.

Our team is looking into this and will get back to you as soon as we have more information to share.

Thanks for helping us improve the Vega platform.

Warm regards,
Aishwarya

Hi @kamilkedzierskicallstack,

Thanks for your patience and for the detailed use case.

VegaOS does not expose an app-level speech-to-text API like Android’s SpeechRecognizer for custom speech recognition flows.

Thanks for helping us improve the Vega platform.

Warm regards,
Aishwarya