Export (0) Print
Expand All

ISpeechResourceLoader Interface (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpeechResourceLoader

New in SAPI 5.3

The ISpeechResourceLoader interface gives applications control over loading resources. For example, applications may want to cache remote resources, enforce custom security policies, or redirect resources to other locations.

Applications implement a resource loader by implementing either LoadResource or both GetLocalCopy and ReleaseLocalCopy. The resource loader can be provided via ISpRecoGrammar2::SetGrammarLoader.

Automation Interface Elements

The ISpeechResourceLoader automation interface contains the following elements:


MethodsDescription
GetLocalCopy MethodGets a local copy of the specified speech resource.
LoadResource MethodLoads the specified speech resource.
ReleaseLocalCopy MethodReleases the local copy of the specified speech resource.
Show:
© 2014 Microsoft