示例#1
0
    //cancel speech
    public void CancelSpeech()
    {
        if (speechPlugin != null)
        {
            bool isSupported = speechPlugin.CheckSpeechRecognizerSupport();

            if (isSupported)
            {
                speechPlugin.Cancel();
            }
        }

        Debug.Log(TAG + " call CancelSpeech..  ");
    }
    //cancel speech
    public void CancelSpeech()
    {
        //this.resultText.text += "cancel \n";
        if (speechPlugin != null)
        {
            bool isSupported = speechPlugin.CheckSpeechRecognizerSupport();

            if (isSupported)
            {
                speechPlugin.Cancel();
            }
        }

        UnityEngine.Debug.Log(TAG + " call CancelSpeech..  ");
    }