class EngineRegistry
Defined at line 1787 of file fidling/gen/sdk/fidl/fuchsia.accessibility.tts/fuchsia.accessibility.tts/hlcpp/fuchsia/accessibility/tts/cpp/fidl.h
An interface for TTS Engines provide speech output.
Public Members
static const char[] Name_
Public Methods
void ~EngineRegistry ()
void RegisterEngine (::fidl::InterfaceHandle< ::fuchsia::accessibility::tts::Engine> engine, RegisterEngineCallback callback)
A TTS engine registers itself to start listening for incoming speech
output requests through `engine`.
At the moment, only one TTS Engine can be registered at a time.
This registry owners the first engine to register itself.
If an engine crashes and wants to register again, calling this method
will restart the connection. An error is returned if another engine is
already registered.