Aracılığıyla paylaş


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.

public:
 virtual IAsyncAction ^ StartAsync() = StartAsync;
/// [Windows.Foundation.Metadata.Overload("StartAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction StartAsync();
[Windows.Foundation.Metadata.Overload("StartAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction StartAsync();
function startAsync()
Public Function StartAsync () As IAsyncAction

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

StartAsync(SpeechContinuousRecognitionMode)

Overload

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

public:
 virtual IAsyncAction ^ StartAsync(SpeechContinuousRecognitionMode mode) = StartAsync;
/// [Windows.Foundation.Metadata.Overload("StartWithModeAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction StartAsync(SpeechContinuousRecognitionMode const& mode);
[Windows.Foundation.Metadata.Overload("StartWithModeAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction StartAsync(SpeechContinuousRecognitionMode mode);
function startAsync(mode)
Public Function StartAsync (mode As SpeechContinuousRecognitionMode) As IAsyncAction

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