kelas SpeechSynthesisBookmarkEventArgs

class SpeechSynthesisBookmarkEventArgs
  : public EventArgs

Kelas untuk argumen peristiwa bookmark sintesis ucapan. Ditambahkan dalam versi 1.16.0.

Anggota

ResultId

Sitnaksis: public const std::string & ResultId;

Id hasil unik. Ditambahkan dalam versi 1.25.0.

AudioOffset

Sitnaksis: public uint64_t AudioOffset;

Offset audio, dalam tanda centang (100 nanodetik).

Teks

Sitnaksis: public const std::string & Text;

Teks bookmark.

SpeechSynthesisBookmarkEventArgs

Sitnaksis: public inline explicit SpeechSynthesisBookmarkEventArgs ( SPXEVENTHANDLE hevent );

Konstruktor.

Parameter

  • hevent Handel peristiwa

~SpeechSynthesisBookmarkEventArgs

Sitnaksis: public inline virtual ~SpeechSynthesisBookmarkEventArgs ( );