SpeechContinuousRecognitionSession.StartAsync Method
Important
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.
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. |
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
- StartAsync(SpeechContinuousRecognitionMode)
- PauseAsync()
- StopAsync()
- CancelAsync()
- Speech interactions
- Speech recognition and speech synthesis sample
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 |
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
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 |