Share via


SpeechSynthesizer.SynthesizeTextToStreamAsync(String) Metodo

Definizione

Generare in modo asincrono l'output vocale da una stringa.

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)

Parametri

text
String

Platform::String

winrt::hstring

Testo da leggere a voce.

Restituisce

SpeechSynthesisStream che rappresenta il riconoscimento vocale generato dal testo.

Attributi

Commenti

Per generare la voce da Speech Synthesis Markup Language (SSML) versione 1.1, vedere SynSsmlToStreamAsync.

Si applica a

Vedi anche