Share via


SpeechRecognitionHypothesis Class

Definition

A recognition result fragment returned by the speech recognizer during an ongoing dictation session.

The result fragment is useful for demonstrating that speech recognition is processing input during a lengthy dictation session.

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
Inheritance
Object Platform::Object IInspectable SpeechRecognitionHypothesis
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

An app retrieves this object through the SpeechRecognitionHypothesisGeneratedEventArgs.Hypothesis property while handling a HypothesisGenerated event.

Properties

Text

Gets the text of the hypothesis, or recognition result fragment, returned by the speech recognizer during an ongoing dictation session.

Applies to

See also