共用方式為


DialogServiceConnector.StartContinuousListeningAsync Method

Definition

Begins a continuous listening session as an asynchronous operation.

public System.Threading.Tasks.Task StartContinuousListeningAsync ();
member this.StartContinuousListeningAsync : unit -> System.Threading.Tasks.Task
Public Function StartContinuousListeningAsync () As Task

Returns

A task that will complete once continuous listening has successfully begun.

Remarks

In contrast to ListenOnceAsync, continuous listening will not stop after a single final recognition result is received and will instead continue to provide audio for future utterances.

SpeechRecognitionResults will arrive asynchronously and must be retrieved from the Recognized event.

Applies to