StreamingRecognition Class

Definition

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
Object Platform::Object IInspectable StreamingRecognition
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

Applies to