ISpObjectWithToken (SAPI 5.4)
Microsoft Speech API 5.4
ISpObjectWithToken
Any object associated with an object token implements the ISpObjectWithToken interface. When the method ISpObjectToken::CreateInstance is called on the object token, SAPI creates the associated object. If this object implements ISpObjectWithToken, the SetObjectToken method will be called, passing in a reference to the object token.
After SAPI calls ISpObjectWithToken::SetObjectToken, a token object is created and its data may be accessed.
Applications do not need to implement this interface, but engine, lexicon, or custom audio developers may implement it in order to access their object token data.
Implemented By
- SpMMAudioEnum
- SpRecPlayAudio
- SpUnCompressedLexicon
- SpCompressedLexicon
Methods in Vtable Order
ISpObjectWithToken Methods |
SetObjectToken |
GetObjectToken |