Discussed in #472
Originally posted by triinko August 16, 2024
Hello,
Is it possible and if so, how do you resume playing TTS if for example a call comes in or a navigation app sends an alert?
Currently it does pause the TTS, but never resumes it.
I see that listening or such evens has been implemented in AudioSession and it calls the AudioSessionUser's play() method. The problem is that the AudioSessionUser is a private property inside PublicationSpeechSythesizer and I can't see a way of overriding its play() method, which is currently empty.
Discussed in #472
Originally posted by triinko August 16, 2024
Hello,
Is it possible and if so, how do you resume playing TTS if for example a call comes in or a navigation app sends an alert?
Currently it does pause the TTS, but never resumes it.
I see that listening or such evens has been implemented in
AudioSessionand it calls theAudioSessionUser'splay()method. The problem is that theAudioSessionUseris a private property insidePublicationSpeechSythesizerand I can't see a way of overriding itsplay()method, which is currently empty.