Note
Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.
Microsoft Speech Platform
CSpEvent::VoiceToken
CSpEvent::VoiceToken returns the event as a cast type of ISpObjectToken pointer. The caller must make sure the event ID is SPEI_VOICE_CHANGE. This is an additional check for the helper ObjectToken.
<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>ISpObjectToken* VoiceToken( void ) const;</strong> </pre>