TextToSpeechEngineDelegate
public protocol TextToSpeechEngineDelegate : AnyObject
                TextToSpeechEngineDelegate informs about certain events that occur during playback.
Important
This is a Public Preview API. It may be changed or removed at any time.- 
                  
onReady()Default implementationInforms that the TTS engine is ready to use.
Default Implementation
Declaration
Swift
func onReady() - 
                  
didFinish(message:Default implementation) Informs that the playback has been finished.
Default Implementation
Declaration
Swift
func didFinish(message: TTSMessage) - 
                  
didFinish(message:Default implementationwithError: ) Informs that an error occurred.
Default Implementation
Declaration
Swift
func didFinish(message: TTSMessage, withError: Error) - 
                  
didStart(message:Default implementation) Informs that the playback has started.
Default Implementation
Declaration
Swift
func didStart(message: TTSMessage) - 
                  
didStop(message:Default implementation) Informs that the playback has been stopped.
Default Implementation
Declaration
Swift
func didStop(message: TTSMessage) - 
                  
didPause(message:Default implementation) Informs that the playback has been paused.
Default Implementation
Declaration
Swift
func didPause(message: TTSMessage) - 
                  
didContinue(message:Default implementation) Informs that the playback has been resumed after a pause.
Default Implementation
Declaration
Swift
func didContinue(message: TTSMessage) 
        
 
          TomTom SDK for iOS (0.51.1)
        
          TextToSpeechEngineDelegate