class SpeechSynthesisBookmarkEventArgs
: public EventArgs
语音合成书签事件参数的类。 已在版本 1.16.0 中添加。
成员
ResultId
语法:public const std::string & ResultId;
唯一的结果 ID。在版本 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 ( );