10#include "../../event.h"
11#include "../../object.h"
12#include "../../string.h"
66 void speak(const
xtd::
string& text_to_speak);
75 xtd::speech::synthesis::
prompt& speak_async(const
xtd::
string& text_to_speak);
99 void on_speak_completed();
100 void on_speak_started();
Represents an event.
Definition event.h:21
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
Represents information about what can be rendered, either text or an audio file, by the xtd::speech::...
Definition prompt.h:36
Provides access to the functionality of an installed speech synthesis engine.
Definition speech_synthesizer.h:35
speech_synthesizer()
Initializes a new instance of the xtd::speech::synthesis::speech_synthesizer class.
synthesizer_state state() const noexcept
Gets the current speaking state of the xtd::speech::speech_synthesizer object.
#define core_export_
Define shared library export.
Definition core_export.h:13
delegate< void(object &sender, const speak_started_event_args &e)> speak_started_event_handler
Represents the method that will handle xtd::speech::synthesis::speech_synthesizer::speak_started even...
Definition speak_started_event_handler.h:24
delegate< void(object &sender, const speak_completed_event_args &e)> speak_completed_event_handler
Represents the method that will handle xtd::speech::synthesis::speech_synthesizer::speak_completed ev...
Definition speak_completed_event_handler.h:24
delegate< void(object &sender, const state_changed_event_args &e)> state_changed_event_handler
Represents the method that will handle xtd::speech::synthesis::speech_synthesizer::speak_started even...
Definition state_changed_event_handler.h:24
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
synthesizer_state
Enumerates values for the state of the xtd::speech::synthesis::speech_synthesizer.
Definition synthesizer_state.h:28
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::speech::synthesis::prompt class.
Contains xtd::speech::synthesis::speak_completed_event_handler alias.
Contains xtd::speech::synthesis::speak_started_event_handler alias.
Contains xtd::speech::synthesis::state_changed_event_handler alias.
Contains xtd::speech::synthesis::synthesizer_state enum class.