Provides access to the functionality of an installed speech synthesis engine.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
Provides access to the functionality of an installed speech synthesis engine.
Definition speech_synthesizer.hpp:35
#define core_export_
Define shared library export.
Definition core_export.hpp:13
- Inheritance
- xtd::object → xtd::speech::synthesis::speech_synthesizer
- Header
#include <xtd/speech/synthesis/speech_synthesizer>
- Namespace
- xtd::speech::synthesis
- Library
- xtd.core
- Examples
- hello_world_say.cpp.
|
synthesizer_state | state () const noexcept |
| Gets the current speaking state of the xtd::speech::speech_synthesizer object.
|
|
|
| object ()=default |
| Create a new instance of the ultimate base class object.
|
|
virtual bool | equals (const object &obj) const noexcept |
| Determines whether the specified object is equal to the current object.
|
|
virtual size_t | get_hash_code () const noexcept |
| Serves as a hash function for a particular type.
|
|
virtual type_object | get_type () const noexcept |
| Gets the type of the current instance.
|
|
template<typename object_t > |
xtd::uptr< object_t > | memberwise_clone () const |
| Creates a shallow copy of the current object.
|
|
virtual xtd::string | to_string () const noexcept |
| Returns a xtd::string that represents the current object.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are considered equal.
|
|
template<typename object_a_t , typename object_b_t > |
static bool | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept |
| Determines whether the specified object instances are the same instance.
|
|
◆ speech_synthesizer()
xtd::speech::synthesis::speech_synthesizer::speech_synthesizer |
( |
| ) |
|
◆ state()
Gets the current speaking state of the xtd::speech::speech_synthesizer object.
- Returns
- Returns the current speaking state of the xtd::speech::speech_synthesizer object.
◆ speak() [1/2]
void xtd::speech::synthesis::speech_synthesizer::speak |
( |
const xtd::string & |
text_to_speak | ) |
|
Synchronously speaks the contents of a string.
- Parameters
-
text_to_speak | The text to speak. |
◆ speak() [2/2]
◆ speak_async() [1/2]
Asynchronously speaks the contents of a string.
- Parameters
-
text_to_speak | The text to speak. |
- Returns
- Returns the object that contains the content to speak.
◆ speak_async() [2/2]
◆ speak_completed
◆ speak_started
◆ state_changed
The documentation for this class was generated from the following file: