SpeechRecognizer.RecognizeWithUIAsync 方法

定义

异步启动语音识别会话,其中包含其他 UI 机制,包括提示、示例、文本转语音 (TTS) 和确认。

public:
 virtual IAsyncOperation<SpeechRecognitionResult ^> ^ RecognizeWithUIAsync() = RecognizeWithUIAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SpeechRecognitionResult> RecognizeWithUIAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SpeechRecognitionResult> RecognizeWithUIAsync();
function recognizeWithUIAsync()
Public Function RecognizeWithUIAsync () As IAsyncOperation(Of SpeechRecognitionResult)

返回

语音识别会话作为 SpeechRecognitionResult 对象的结果。

属性

注解

RecognizeWithUIAsync 支持的 UI 机制由 UIOptions 属性指定。

适用于

另请参阅