Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SpObjectTokenCategory
Collapse the table of content
Expand the table of content

SpObjectTokenCategory Interface (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

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.
Show:
© 2015 Microsoft