StreamingRecognition Class
Definition
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.
public ref class StreamingRecognition sealed : IClosable
/// [Windows.Foundation.Metadata.Activatable(Microsoft.Windows.AI.Speech.IStreamingRecognitionFactory, 65536, "Microsoft.Windows.AI.Speech.SpeechContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.AI.Speech.SpeechContract, 65536)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StreamingRecognition final : IClosable
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.Windows.AI.Speech.IStreamingRecognitionFactory), 65536, "Microsoft.Windows.AI.Speech.SpeechContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.AI.Speech.SpeechContract), 65536)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StreamingRecognition : System.IDisposable
function StreamingRecognition(audioConfig, speechModel)
Public NotInheritable Class StreamingRecognition
Implements IDisposable
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| StreamingRecognition(AudioConfiguration, SpeechRecognitionModel) | |
Methods
| Name | Description |
|---|---|
| Close() | |
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| StartContinuousRecognitionAsync() | |
| StopContinuousRecognition() | |
Events
| Name | Description |
|---|---|
| Recognized | |
| Recognizing | |