Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SpObjectTokenCategory Interface (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

SpObjectTokenCategory

The SpObjectTokenCategory automation object represents a class of object tokens. Object tokens are associated with specific folders in the Speech configuration database, and these folders are organized into categories, such as Recognizers, AudioInputs and Voices. An SpObjectTokenCategory object represents a single category of object tokens, and provides access to all the tokens within that category.

Applications can derive the category of an initialized SpObjectToken object from its Category property, or they can create a new SpObjectTokenCategory object and use the SetId method to associate it with a particular category.

Automation Interface Elements

The SpObjectTokenCategory automation object has the following elements:


PropertiesDescription
Default PropertyGets and sets the ID of the default token in the category.
Id PropertyReturns the name of the object token category.
MethodsDescription
EnumerateTokens MethodReturns a selection of SpObjectToken objects.
GetDataKey MethodReturns the data key of the category in the speech configuration database.
SetId MethodSets the ID of the category.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.