Dela via


klass SpeechSynthesisBookmarkEventArgs

class SpeechSynthesisBookmarkEventArgs
  : public EventArgs

Klass för talsyntesens argument för bokmärkeshändelser. Har lagts till i version 1.16.0.

Medlemmar

ResultId

Syntax: public const std::string & ResultId;

Unikt resultat-ID. Har lagts till i version 1.25.0.

AudioOffset

Syntax: public uint64_t AudioOffset;

Ljudförskjutning, i tick (100 nanosekunder).

Text

Syntax: public const std::string & Text;

Bokmärkestexten.

SpeechSynthesisBookmarkEventArgs

Syntax: public inline explicit SpeechSynthesisBookmarkEventArgs ( SPXEVENTHANDLE hevent );

Konstruktören.

Parametrar

  • hevent Händelsereferens

~SpeechSynthesisBookmarkEventArgs

Syntax: public inline virtual ~SpeechSynthesisBookmarkEventArgs ( );