類別 SpeechSynthesisBookmarkEventArgs

class SpeechSynthesisBookmarkEventArgs
  : public EventArgs

語音合成書籤事件自變數的類別。 已在1.16.0版中新增。

成員

結果編號

語法:public const std::string & ResultId;

唯一的結果標識碼。已在1.25.0版中新增。

AudioOffset

語法:public uint64_t AudioOffset;

音訊位移,以刻度為單位(100 奈秒)。

文字

語法:public const std::string & Text;

書籤文字。

SpeechSynthesisBookmarkEventArgs

語法:public inline explicit SpeechSynthesisBookmarkEventArgs ( SPXEVENTHANDLE hevent );

構造 函數。

參數

  • hevent 事件句柄

~SpeechSynthesisBookmarkEventArgs

語法:public inline virtual ~SpeechSynthesisBookmarkEventArgs ( );