Providing Visual Feedback
Updated: Apr 15, 2026
Providing users with an indication when the microphone is active is an important part of creating a user-friendly App Voice Experience.
The simplest way to do this is to show some text when the microphone is active.
To show when the microphone is active
In the Unreal editor, go to User Interface > Widget Blueprint.
Name the Blueprint, for example, UI_VoiceSDK.
Open the Blueprint and drag a Text widget and a Button widget from the Palette panel to add them to the UI.
Select the text, and then name it Result_Text.
In the Details panel, select Is Variable.
In the Graph view, add an On Clicked event listener.
Change Result_Text to show Activate button clicked.
- Bind to the
OnPartialTranscription or OnFullTranscription delegates on the Voice Events component to receive transcription text as an FString, and set that value on the Result_Text widget.
OnPartialTranscription fires as the user speaks, while OnFullTranscription fires after the user finishes speaking with the final transcription.
Change the Activate button to activate voice input.
Add callbacks to OnStartVoiceInput and OnStopVoiceInput to change the text widget to show the current status (for example, “Listening” when OnStartVoiceInput fires and “Idle” when OnStopVoiceInput fires).
On the map, go to Blueprints and open Level Blueprint.
Place the UI widget at the beginning of the game.