Assets/SpeechToText/Scripts/SpeechToTextWidgets/SpeechToTextServiceWidget.cs
/// <summary>
/// Clears the current results text and tells the speech-to-text service to start recording.
/// </summary>
Clears the current results text and tells the speech-to-text service to start recording.
Clears the current results text and tells the speech - to - text service to start recording .
public void StartRecording()
        {
            SmartLogger.Log(DebugFlags.SpeechToTextWidgets, "Start service widget recording");
            m_WillDisplayReceivedResults = true;
            m_WaitingForLastFinalResultOfSession = false;
            m_LastResultWasFinal = false;
            m_PreviousFinalResults = "";
            m_ResultsTextUI.text = m_PreviousFinalResults;
            m_SpeechToTextService.StartRecording();
        }
public void StartRecording ( ) { SmartLogger . Log ( DebugFlags . SpeechToTextWidgets , " " ) ; m_WillDisplayReceivedResults = true ; m_WaitingForLastFinalResultOfSession = false ; m_LastResultWasFinal = false ; m_PreviousFinalResults = " " ; m_ResultsTextUI . text = m_PreviousFinalResults ; m_SpeechToTextService . StartRecording ( ) ; }
Clears the current results text and tells the speech-to-text service to start recording.
Clears the current results text and tells the speech - to - text service to start recording .