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