SpeechRecognizer.RecognizeAsync Method

Begins a speech recognition session for a SpeechRecognizer object.

Syntax

public:
IAsyncOperation<SpeechRecognitionResult^ >^ RecognizeAsync()  

Return value

Type: IAsyncOperation<SpeechRecognitionResult^ > 

Returns an IAsyncOperation<TResult> object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncOperation<TResult>.Completed property. When the asynchronous operation is complete, the result of the operation can be retrieved by using the IAsyncOperation<TResult>.GetResults method.
The result of the asynchronous operation is a SpeechRecognitionResult object containing the result of the speech recognition session that was initiated by the SpeechRecognizer object.

Requirements

Namespace: Windows.Xbox.Speech.Recognition

Metadata: windows.winmd

See also

Reference

SpeechRecognizer Class

SpeechRecognizer Members

Windows.Xbox.Speech.Recognition Namespace