TextToSpeech Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The TextToSpeech API enables an application to utilize the built-in text-to-speech engines to speak back text from the device and also to query available languages that the engine can support.
public ref class TextToSpeech abstract sealed
public static class TextToSpeech
type TextToSpeech = class
Public Class TextToSpeech
- Inheritance
-
TextToSpeech
Remarks
When using this on Android targeting Android 11 (R API 30) you must update your Android Manifest with queries that are used with the new package visibility requirements. See the conceptual docs for more information.
Properties
Default |
Provides the default implementation for static usage of this API. |
Methods
GetLocalesAsync() |
Gets a list of languages supported by text-to-speech. |
SpeakAsync(String, CancellationToken) |
Speaks the given text through the device's speech-to-text. |
SpeakAsync(String, SpeechOptions, CancellationToken) |
Speaks the given text through the device's speech-to-text. |