Assets/SpeechToText/Scripts/SpeechToTextWidgets/SpeechToTextServiceWidget.cs
/// <summary>
/// Registers callbacks with the SpeechToTextService.
/// </summary>
Registers callbacks with the SpeechToTextService.
Registers callbacks with the SpeechToTextService .
void RegisterSpeechToTextServiceCallbacks()
        {
            if (m_SpeechToTextService != null)
            {
                m_SpeechToTextService.RegisterOnError(OnSpeechToTextError);
                m_SpeechToTextService.RegisterOnTextResult(OnTextResult);
                m_SpeechToTextService.RegisterOnRecordingTimeout(OnSpeechToTextRecordingTimeout);
            }
        }
void RegisterSpeechToTextServiceCallbacks ( ) { if ( m_SpeechToTextService != null ) { m_SpeechToTextService . RegisterOnError ( OnSpeechToTextError ) ; m_SpeechToTextService . RegisterOnTextResult ( OnTextResult ) ; m_SpeechToTextService . RegisterOnRecordingTimeout ( OnSpeechToTextRecordingTimeout ) ; } }
Registers callbacks with the SpeechToTextService.
Registers callbacks with the SpeechToTextService .