Recognizer. Compile Constraints Async Method
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.
public: virtual IAsyncOperation<SpeechRecognitionCompilationResult ^> ^ CompileConstraintsAsync() = CompileConstraintsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync] IAsyncOperation<SpeechRecognitionCompilationResult> CompileConstraintsAsync();
[Windows.Foundation.Metadata.RemoteAsync] public IAsyncOperation<SpeechRecognitionCompilationResult> CompileConstraintsAsync();
Public Function CompileConstraintsAsync () As IAsyncOperation(Of SpeechRecognitionCompilationResult)
The result of the constraints compilation as a SpeechRecognitionCompilationResult object.
This method returns an error if:
- SpeechRecognizerState is not Idle or Paused.
- One or more constraints are specified when the recognition session is initialized, recognition is Paused, all constraints are removed, and recognition is resumed.
- No constraints are specified when the recognition session is initialized, recognition is Paused, constraints are added, and recognition is resumed.
To use web-service constraints, speech input and dictation support must be enabled in Settings by turning on the "Get to know me" option in the Settings -> Privacy -> Speech, inking, and typing page. See "Recognize speech input" in Speech recognition.
다음에 대한 사용자 의견 제출 및 보기