FString, without processing the text through Wit.ai natural-language understanding (NLU). This makes transcription suitable for displaying what a user said, implementing dictation input, or feeding text into your own processing logic.VoiceEvents component of the AppVoiceExperience actor:OnFullTranscription: Fires when the complete transcription is available after the user finishes speaking.OnPartialTranscription: Fires as the user speaks, providing incremental transcription text that updates in real time.OnWitResponse event instead. For more information, see Voice Command.OnFullTranscription. Select the event to add it to the graph. This event provides a Transcription output pin of type FString containing the transcribed text.Transcription output to a text display widget or other processing logic. For example, you can set the text of a UI widget to display the transcription result.OnPartialTranscription event.ActivateVoiceInput on the AppVoiceExperience actor. For activation options, see Activation.AddUniqueDynamic on the VoiceEvents component of your AAppVoiceExperience instance:VoiceExperience->VoiceEvents->OnFullTranscription.AddUniqueDynamic(
this, &AMyActor::OnFullTranscriptionReceived);
const FString& parameter containing the transcription text:UFUNCTION() void OnFullTranscriptionReceived(const FString& Transcription);
OnPartialTranscription to receive incremental transcription updates.| Event | When it fires | Use case |
|---|---|---|
OnFullTranscription | After the user finishes speaking and the complete transcription is available | Displaying final results, submitting text input |
OnPartialTranscription | Continuously as the user speaks | Showing live captions, providing real-time feedback |