blob: 25fa148d579359a9b4b5704f83a6d071f34b0c73 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.accessibility.tts;
/// An interface to manage TTS for assistive technology.
///
/// The TTS Manager offers assistive technology a way to open a TTS engine to
/// start producing speech output.
@discoverable
protocol TtsManager {
/// A speaker is an assistive technology that wants to produce speech
/// output. Only one speaker is allowed to have an open connection to the
/// engine at a time. If already in use, BUSY error is returned.
OpenEngine(resource struct {
engine_request server_end:Engine;
}) -> (struct {}) error Error;
};