I want to use TTS to speak a battery level of a device. What is the best way of doing that ?
Announcement
Collapse
No announcement yet.
How can I use TTS to speak a device string/value ?
Collapse
X
-
Guest
-
Synthesizes speech from the text for immediate playback or to create a sound file.
A TextToSpeech instance can only be used to synthesize text once it has completed its initialization. Implement the TextToSpeech.OnInitListener to be notified of the completion of the initialization.
When you are done using the TextToSpeech instance, call the shutdown() method to release the native resources used by the TextToSpeech engine.
Comment
Comment