RadSpeechRecognizer
Provides speech recognition functionality for .NET MAUI applications using the platform SpeechRecognizer APIs.
Definition
Namespace:Telerik.Maui.SpeechRecognizer
Assembly:Telerik.Maui.Core.dll
Syntax:
public sealed class RadSpeechRecognizer : IRadSpeechRecognizer, IAsyncDisposable
Inheritance: objectRadSpeechRecognizer
Implements:
Constructors
Initializes a new instance of the RadSpeechRecognizer class.
public RadSpeechRecognizer()
Properties
Gets the current state of the speech recognizer.
public SpeechRecognizerState State { get; }
Implements:
Methods
Initializes the speech recognizer with the specified context.
public Task Init(SpeechRecognizerInitializationContext context)
The initialization context.
Returns:A task that represents the asynchronous operation.
Implements:
Resets the speech recognizer to its initial state.
Starts listening for speech input.
public Task StartListening()
A task that represents the asynchronous operation.
Implements:
Stops listening for speech input.
public Task StopListening()
A task that represents the asynchronous operation.
Implements:
Events
Occurs when an error is encountered by the speech recognizer.
public event EventHandler<SpeechRecognizerErrorOccurredEventArgs> ErrorOccurred
Implements:
Occurs when speech is successfully recognized.
public event EventHandler<SpeechRecognizerSpeechRecognizedEventArgs> SpeechRecognized
Implements:
Occurs when the state of the speech recognizer changes.
public event EventHandler StateChanged
Implements: