diff options
Diffstat (limited to 'external/plyer/facades/tts.py')
-rw-r--r-- | external/plyer/facades/tts.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/external/plyer/facades/tts.py b/external/plyer/facades/tts.py new file mode 100644 index 0000000..91c1a76 --- /dev/null +++ b/external/plyer/facades/tts.py @@ -0,0 +1,16 @@ +class TTS(object): + '''TextToSpeech facade. + ''' + + def speak(self, message=''): + '''Use text to speech capabilities to speak the message. + + :param message: What to speak + :type message: str + ''' + self._speak(message=message) + + # private + + def _speak(self, **kwargs): + raise NotImplementedError() |