SpeechContinuousRecognitionSession.StartAsync Method

Definition

Overloads

StartAsync()

Overload

Asynchronously begin a continuous speech recognition session with a SpeechContinuousRecognitionMode of Default.

StartAsync(SpeechContinuousRecognitionMode)

Overload

Asynchronously begin a continuous speech recognition session with the specified SpeechContinuousRecognitionMode behavior.

StartAsync()

Overload

Asynchronously begin a continuous speech recognition session with a SpeechContinuousRecognitionMode of Default.

C#
[Windows.Foundation.Metadata.Overload("StartAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction StartAsync();

Returns

An asynchronous handler called when the operation is complete.

Attributes

Remarks

CompileConstraintsAsync must always be called before StartAsync, even if no constraints are specified in the Constraints property.

See also

Applies to

WinRT Build 26100 and other versions
Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

StartAsync(SpeechContinuousRecognitionMode)

Overload

Asynchronously begin a continuous speech recognition session with the specified SpeechContinuousRecognitionMode behavior.

C#
[Windows.Foundation.Metadata.Overload("StartWithModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction StartAsync(SpeechContinuousRecognitionMode mode);

Parameters

mode
SpeechContinuousRecognitionMode

The speech recognition behavior.

Returns

An asynchronous handler called when the operation is complete.

Attributes

Remarks

CompileConstraintsAsync must always be called before StartAsync, even if no constraints are specified in the Constraints property.

Applies to

WinRT Build 26100 and other versions
Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100