Esempio n. 1
0
    private void OnDestroy()
    {
        speechPlugin.RemoveSpeechRecognizerListener();
        speechPlugin.DestroySpeechController();

        //call this of your not going to used TextToSpeech Service anymore
        textToSpeechPlugin.ShutDownTextToSpeechService();
    }
Esempio n. 2
0
 private void OnDestroy()
 {
     RemoveSpeechPluginListener();
     speechPlugin.StopListening();
     speechPlugin.DestroySpeechController();
 }