Share via


TextToSpeech Class

Definition

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.

Applies to