Android.Speech Namespace
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.
Provides speech recognition services, listeners, recognition results, and model download support.
Classes
| Name | Description |
|---|---|
| AlternativeSpan |
List of alternative hypotheses for a specific span of a speech recognition result string. |
| AlternativeSpan.InterfaceConsts |
Contains the parcelable interface constants exposed for AlternativeSpan. |
| AlternativeSpans |
List of |
| AlternativeSpans.InterfaceConsts |
Contains the parcelable interface constants exposed for AlternativeSpans. |
| BufferReceivedEventArgs |
Provides data for the BufferReceived event. |
| ErrorEventArgs | |
| EventEventArgs |
Provides data for the Event event. |
| LanguageDetectionEventArgs |
Provides data for the LanguageDetection event. |
| ModelDownloadErrorEventArgs |
Provides data for the OnError(SpeechRecognizerError) callback. |
| PartialResultsEventArgs |
Provides data for the PartialResults event. |
| ProgressEventArgs |
Provides data for the OnProgress(Int32) callback. |
| ReadyForSpeechEventArgs |
Provides data for the ReadyForSpeech event. |
| RecognitionPart |
Info about a single recognition part. |
| RecognitionPart.Builder |
A builder for |
| RecognitionPart.InterfaceConsts |
Contains the parcelable interface constants exposed for RecognitionPart. |
| RecognitionService |
This class provides a base class for recognition service implementations. |
| RecognitionService.Callback |
This class receives callbacks from the speech recognition service and forwards them to the user. |
| RecognitionService.SupportCallback |
This class receives callbacks from the speech recognition service and forwards them to the user. |
| RecognitionSupport |
Encodes the level of support for a given speech recognition request |
| RecognitionSupport.Builder |
A builder for |
| RecognitionSupport.InterfaceConsts |
Contains the parcelable interface constants exposed for RecognitionSupport. |
| RecognizerIntent |
Constants for supporting speech recognition through starting an |
| RecognizerResultsIntent |
Constants for intents related to showing speech recognition results. |
| ResultsEventArgs |
Provides data for the PartialResults, and Results events. |
| RmsChangedEventArgs |
Provides data for the RmsChanged event. |
| SegmentResultsEventArgs |
Provides data for the SegmentResults event. |
| SpeechRecognizer |
This class provides access to the speech recognition service. |
Interfaces
| Name | Description |
|---|---|
| IModelDownloadListener |
Listener for model download events. |
| IRecognitionListener |
Used for receiving notifications from the SpeechRecognizer when the recognition related events occur. |
| IRecognitionSupportCallback |
Used for receiving notifications from the SpeechRecognizer about the device support status for the given recognition request. |
Enums
| Name | Description |
|---|---|
| LanguageDetectionConfidenceLevel |
Specifies the confidence level of a detected language. |
| LanguageSwitchResult |
Specifies the result of an automatic speech recognition language switch. |
| RecognitionConfidenceLevel |
Specifies the confidence level of a recognized word or character. |
| RecognizerResult |
Enumerates values returned by several methods of RecognizerResult. |
| SpeechRecognizerError |
The reason speech recognition failed. |