StreamingRecognition Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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
- Vererbung
- Attribute
- Implementiert
Konstruktoren
| Name | Beschreibung |
|---|---|
| StreamingRecognition(AudioConfiguration, SpeechRecognitionModel) | |
Methoden
| Name | Beschreibung |
|---|---|
| Close() | |
| Dispose() |
Führt anwendungsdefinierte Aufgaben aus, die mit dem Freigeben, Freigeben oder Zurücksetzen nicht verwalteter Ressourcen verknüpft sind. |
| StartContinuousRecognitionAsync() | |
| StopContinuousRecognition() | |
Ereignisse
| Name | Beschreibung |
|---|---|
| Recognized | |
| Recognizing | |