Share via


SpeechSynthesizer.SynthesizeTextToStreamAsync(String) メソッド

定義

文字列から音声出力を非同期に生成します。

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)

パラメーター

text
String

Platform::String

winrt::hstring

読み上げるテキスト。

戻り値

テキストから生成された音声を表す SpeechSynthesisStream

属性

注釈

音声合成マークアップ言語 (SSML) バージョン 1.1 から音声を生成するには、「SynthesizeSsmlToStreamAsync」を参照してください。

適用対象

こちらもご覧ください