Code example for TextToSpeech

Methods: shutdown

0
    } 
 
    /** Shuts down the TTS engine. */ 
    public void shutdown() { 
        if (isShutdown.compareAndSet(false, true)) {
            tts.shutdown();
        } 
    } 
}