class Engine
Defined at line 1586 of file fidling/gen/sdk/fidl/fuchsia.accessibility.tts/fuchsia.accessibility.tts/hlcpp/fuchsia/accessibility/tts/cpp/fidl.h
An interface to produce speech output.
Assistive technology use an Engine to start producing speech output and
set configuration parameters that control the speech.
TODO(https://fxbug.dev/42091290): Implement pause, stop and resume.
Public Members
static const char[] Name_
Public Methods
void ~Engine ()
void Enqueue (::fuchsia::accessibility::tts::Utterance utterance, EnqueueCallback callback)
Enqueues an utterance to be spoken. Speech is not started until Speak
is called.
void Speak (SpeakCallback callback)
Speaks all enqueued utterances. The method returns the value when they
are all finished playing.
void Cancel (CancelCallback callback)
Cancels current speech and also empties the queue.