Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
SpeechRecognitionHypothesis Class
Definition
- Namespace:
- Windows.Media.SpeechRecognition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
Feedback
Was this page helpful?
