ISpeechRecognizer.PreloadGrammarsAsync Method

Asynchronously loads the current grammar set into the speech recognizer

Syntax

public:
IAsyncAction^ PreloadGrammarsAsync()  

Return value

Type: IAsyncAction 

The resulting action.

Remarks

This method can only be successfully called when the speech recognizer is Stopped. Only one call to this method may be active at any time. Successive concurrent calls will return COR_E_INVALIDOPERATION.

Requirements

Namespace: Windows.Xbox.Speech.Recognition

Metadata: windows.winmd

See also

Reference

ISpeechRecognizer Interface

ISpeechRecognizer Members

SpeechGrammarSet Class

Windows.Xbox.Speech.Recognition Namespace