Assets/SpeechToText/Scripts/SpeechToTextWidgets/SpeechToTextServiceWidget.cs
/// <summary>
/// Does any final processing necessary for the results of the last started session and then
/// stops the widget from displaying results until the start of the next session.
/// </summary>
Does any final processing necessary for the results of the last started session and then
stops the widget from displaying results until the start of the next session.
Does any final processing necessary for the results of the last started session and then stops the widget from displaying results until the start of the next session .
void ProcessEndResults()
        {
            SmartLogger.Log(DebugFlags.SpeechToTextWidgets, m_SpeechToTextService.GetType().ToString() + " got last response");
            if (m_ComparisonPhrase != null)
            {
                DisplayAccuracyOfEndResults(m_ComparisonPhrase);
            }
            LogFileManager.Instance.WriteTextToFileIfShouldLog(SpeechToTextServiceString() + ": " + m_ResultsTextUI.text);
            if (m_OnReceivedLastResponse != null)
            {
                m_OnReceivedLastResponse(this);
            }
            m_WillDisplayReceivedResults = false;
        }
void ProcessEndResults ( ) { SmartLogger . Log ( DebugFlags . SpeechToTextWidgets , m_SpeechToTextService . GetType ( ) . ToString ( ) + " " ) ; if ( m_ComparisonPhrase != null ) { DisplayAccuracyOfEndResults ( m_ComparisonPhrase ) ; } LogFileManager . Instance . WriteTextToFileIfShouldLog ( SpeechToTextServiceString ( ) + " " + m_ResultsTextUI . text ) ; if ( m_OnReceivedLastResponse != null ) { m_OnReceivedLastResponse ( this ) ; } m_WillDisplayReceivedResults = false ; }
Does any final processing necessary for the results of the last started session and then
stops the widget from displaying results until the start of the next session.
Does any final processing necessary for the results of the last started session and then stops the widget from displaying results until the start of the next session .