classafFancomSapi::SpObjectToken
sys::Obj afFancomSapi::SpObjectToken
Represents an available resource of a type used by SAPI.
http://msdn.microsoft.com/en-us/library/ee125595%28v=vs.85%29.aspx
@clsid {EF411752-3736-4CB4-9C8C-8EF4CCB58EFE}
- category
SpObjectTokenCategory? category { private set }
Returns the category of the object token .
- dataKey
ISpeechDataKey? dataKey { private set }
Returns the data key of the object token as an
ISpeechDataKey
object.- getAttribute
Str? getAttribute(Str? attributeName)
Returns the value of the specified attribute.
- getDescription
Str? getDescription(Int? locale := (Int?)0)
Returns the name of the resource represented by the object token.
- getStorageFileName
Str? getStorageFileName(Str? objectStorageCLSID, Str? keyName, Str? fileName, SpeechTokenShellFolder? folder)
Creates a storage file for data associated with the object token.
- id
Str? id { private set }
Returns the ID of the token.
- makeFromDispatch
new makeFromDispatch(Dispatch dispatch)
- makeFromProgId
new makeFromProgId()
- matchesAttributes
Bool? matchesAttributes(Str? attributes)
Indicates whether the token matches specified attributes.
- progId
const static Str progId := "SAPI.SpObjectToken"
- remove
Void remove(Str? objectStorageCLSID)
Removes the token from the speech configuration database.
- removeStorageFileName
Void removeStorageFileName(Str? objectStorageCLSID, Str? keyName, Bool? deleteFile)
Removes a storage file associated with the object token.
- setId
Void setId(Str? id, Str? categoryID := "", Bool? createIfNotExist := (Bool?)false)
Associates a new object token with a resource by setting its ID property.