SpeechRecognitionCompilationResult SpeechRecognitionCompilationResult SpeechRecognitionCompilationResult SpeechRecognitionCompilationResult Class

The result of compiling the constraints set for a SpeechRecognizer object.

Syntax

Declaration

public sealed class SpeechRecognitionCompilationResultpublic sealed class SpeechRecognitionCompilationResultPublic NotInheritable Class SpeechRecognitionCompilationResult

Remarks

Call CompileConstraintsAsync() to obtain an instance of this class.

CompileConstraintsAsync() must always be called before RecognizeAsync() or RecognizeWithUIAsync(), even if no constraints are specified in the Constraints property.

Properties summary

Gets the result state (SpeechRecognitionResultStatus ) from the compiling of grammar constraints.

Properties

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Media.SpeechRecognition.dll