SpeechRecognitionHypothesis 類別

定義

語音辨識器在進行中的聽寫會話期間所傳回的辨識結果片段。

結果片段有助於示範語音辨識在冗長的聽寫會話期間正在處理輸入。

public ref class SpeechRecognitionHypothesis 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 SpeechRecognitionHypothesis 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 SpeechRecognitionHypothesis
Public NotInheritable Class SpeechRecognitionHypothesis
繼承
Object Platform::Object IInspectable SpeechRecognitionHypothesis
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

應用程式會透過 SpeechRecognitionHypothesisGeneratedEventArgs.Hypothesis 屬性擷取此物件,同時處理 HypothesisGenerated 事件。

屬性

Text

取得假設的文字,或辨識結果片段,在進行中的聽寫會話期間由語音辨識器傳回。

適用於

另請參閱