類別 SpeechSynthesisRequest::InputStream

表示語音合成要求的輸入數據流。 注意:此類別處於預覽狀態,未來版本可能會有所變更。 已在1.37.0版中新增。

成員

語法:public inline void Write ( const std::string & text );

將一段文字傳送至要合成的語音合成服務。

參數

  • text 要合成的文字片段。

關閉

語法:public inline void Close ( );

完成文字輸入。