Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.48 KB

speechcontinuousrecognitionsession_pauseasync_576113822.md

File metadata and controls

26 lines (18 loc) · 1.48 KB
-api-id -api-type
M:Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession.PauseAsync
winrt method

Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession.PauseAsync

-description

Asynchronously pause a continuous speech recognition session to update a local grammar file or list constraint.

-returns

An asynchronous handler called when the operation is complete.

-remarks

An error is returned if SpeechRecognizerState is Idle or Paused.

If the list of constraints is empty (which defaults to a SpeechRecognitionTopicConstraint), or a SpeechRecognitionTopicConstraint is present in the list of constraints, PauseAsync fails with error code COR_E_INVALIDOPERATION.

-examples

-see-also

StartAsync, StopAsync, CancelAsync, Speech interactions, Speech recognition and speech synthesis sample