StreamingRecognition Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
- Ereditarietà
- Attributi
- Implementazioni
Costruttori
| Nome | Descrizione |
|---|---|
| StreamingRecognition(AudioConfiguration, SpeechRecognitionModel) | |
Metodi
| Nome | Descrizione |
|---|---|
| Close() | |
| Dispose() |
Esegue attività definite dall'applicazione associate alla liberazione, al rilascio o alla reimpostazione di risorse non gestite. |
| StartContinuousRecognitionAsync() | |
| StopContinuousRecognition() | |
Eventi
| Nome | Descrizione |
|---|---|
| Recognized | |
| Recognizing | |