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