private void OnDestroy()
    {
        speechPlugin.RemoveSpeechRecognizerListener();
        speechPlugin.DestroySpeechController();

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