SpeechRecognitionHypothesisGeneratedEventArgs 类

定义

包含 SpeechRecognizer.HypothesisGenerated 事件的事件数据。

public ref class SpeechRecognitionHypothesisGeneratedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpeechRecognitionHypothesisGeneratedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpeechRecognitionHypothesisGeneratedEventArgs
Public NotInheritable Class SpeechRecognitionHypothesisGeneratedEventArgs
继承
Object Platform::Object IInspectable SpeechRecognitionHypothesisGeneratedEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

此对象传递给 SpeechRecognizer.HypothesisGenerated 事件处理程序。

属性

Hypothesis

获取语音识别器在正在进行的听写会话期间返回的识别结果片段。

适用于

另请参阅