changeTextToSpeechEngine

Substitutes the current TextToSpeechEngine with a different one. TextToSpeechEngine.close is called on TextToSpeechEngine which is being replaced.

Parameters

ttsEngine

New TextToSpeechEngine to be used.