class TtsManager
Defined at line 23 of file ../../src/ui/a11y/lib/tts/tts_manager.h
A class to intermediate interaction between speakers and Tts Engines.
The Tts manager implements |fuchsia.accessibility.tts.TtsManager| and
|fuchsia.accessibility.tts.EngineRegistry| interfaces. It it registers a
speaker (assistive technology wanting to produce speech output), as well as a
Tts engine which is capable of producing the speech output.
The speaker, after registration, calls methods defined by |fuchsia.accessibility.tts.Engine|,
which are then forwarded to the registered Tts Engine.
Public Methods
void TtsManager (sys::ComponentContext * startup_context)
On initialization, this class exposes the services defined in
|fuchsia.accessibility.tts.(TtsManager|EngineRegistry|Engine)|
Defined at line 11 of file ../../src/ui/a11y/lib/tts/tts_manager.cc
void ~TtsManager ()
Defined at line 18 of file ../../src/ui/a11y/lib/tts/tts_manager.cc
void OpenEngine (fidl::InterfaceRequest<fuchsia::accessibility::tts::Engine> engine_request, OpenEngineCallback callback)
|fuchsia.accessibility.tts.TtsManager|
Defined at line 20 of file ../../src/ui/a11y/lib/tts/tts_manager.cc
void CloseEngine ()
Unbinds |engine_binding_| if it's bound. Once this call returns, it's safe to call
OpenEngine() to open a new engine.
Defined at line 35 of file ../../src/ui/a11y/lib/tts/tts_manager.cc
void RegisterEngine (fidl::InterfaceHandle<fuchsia::accessibility::tts::Engine> engine, RegisterEngineCallback callback)
|fuchsia.accessibility.tts.EngineRegistry|
Defined at line 41 of file ../../src/ui/a11y/lib/tts/tts_manager.cc
void RegisterTTSEngineReadyCallback (TTSEngineReadyCallback callback)
Registers a callback that will be invoked once the TTS engine is ready to receive speak
requests.
Defined at line 96 of file ../../src/ui/a11y/lib/tts/tts_manager.cc
void UnregisterTTSEngineReadyCallback ()
Unregisters the currently registered callback (if any).
Defined at line 104 of file ../../src/ui/a11y/lib/tts/tts_manager.cc