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

Source

SpObjectTokenCategory? category { private set }

Returns the category of the object token .

dataKey

Source

ISpeechDataKey? dataKey { private set }

Returns the data key of the object token as an ISpeechDataKey object.

getAttribute

Source

Str? getAttribute(Str? attributeName)

Returns the value of the specified attribute.

getDescription

Source

Str? getDescription(Int? locale := (Int?)0)

Returns the name of the resource represented by the object token.

getStorageFileName

Source

Str? getStorageFileName(Str? objectStorageCLSID, Str? keyName, Str? fileName, SpeechTokenShellFolder? folder)

Creates a storage file for data associated with the object token.

id

Source

Str? id { private set }

Returns the ID of the token.

makeFromDispatch

Source

new makeFromDispatch(Dispatch dispatch)

makeFromProgId

Source

new makeFromProgId()

matchesAttributes

Source

Bool? matchesAttributes(Str? attributes)

Indicates whether the token matches specified attributes.

progId

Source

const static Str progId := "SAPI.SpObjectToken"

remove

Source

Void remove(Str? objectStorageCLSID)

Removes the token from the speech configuration database.

removeStorageFileName

Source

Void removeStorageFileName(Str? objectStorageCLSID, Str? keyName, Bool? deleteFile)

Removes a storage file associated with the object token.

setId

Source

Void setId(Str? id, Str? categoryID := "", Bool? createIfNotExist := (Bool?)false)

Associates a new object token with a resource by setting its ID property.