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:
Methods | Description |
---|---|
GetLocalCopy Method | Gets a local copy of the specified speech resource. |
LoadResource Method | Loads the specified speech resource. |
ReleaseLocalCopy Method | Releases the local copy of the specified speech resource. |