SpeechSynthesizer.SynthesizeTextToStreamAsync(String) Método

Definição

Gere de forma assíncrona a saída de fala de uma cadeia de caracteres.

public:
 virtual IAsyncOperation<SpeechSynthesisStream ^> ^ SynthesizeTextToStreamAsync(Platform::String ^ text) = SynthesizeTextToStreamAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SpeechSynthesisStream> SynthesizeTextToStreamAsync(winrt::hstring const& text);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SpeechSynthesisStream> SynthesizeTextToStreamAsync(string text);
function synthesizeTextToStreamAsync(text)
Public Function SynthesizeTextToStreamAsync (text As String) As IAsyncOperation(Of SpeechSynthesisStream)

Parâmetros

text
String

Platform::String

winrt::hstring

O texto para fala.

Retornos

Um SpeechSynthesisStream que representa a fala gerada a partir do texto.

Atributos

Comentários

Para gerar fala a partir da SSML (Speech Synthesis Markup Language) versão 1.1, consulte SynthesizeSsmlToStreamAsync.

Aplica-se a

Confira também