From 927dc81d69434fd55c264d07875ac13a20f00000 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Mon, 17 Aug 2026 08:32:06 -0500 Subject: [PATCH] Document SpeechRecognizer errors Refs #226 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../Android.Speech/SpeechRecognizerError.xml | 90 +++++++++++++++---- 1 file changed, 74 insertions(+), 16 deletions(-) diff --git a/docs/xml/Android.Speech/SpeechRecognizerError.xml b/docs/xml/Android.Speech/SpeechRecognizerError.xml index 2dc10422b..4124c3cd6 100644 --- a/docs/xml/Android.Speech/SpeechRecognizerError.xml +++ b/docs/xml/Android.Speech/SpeechRecognizerError.xml @@ -11,7 +11,7 @@ System.Enum - To be added. + The reason speech recognition failed. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -38,7 +38,7 @@ 3 - Audio recording error. + Audio recording error. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -69,7 +69,15 @@ 14 - To be added. + The service does not allow support to be checked. + + + + Java documentation for android.speech.SpeechRecognizer.ERROR_CANNOT_CHECK_SUPPORT. + + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. + @@ -97,7 +105,15 @@ 15 - To be added. + The service does not support listening for model download events. + + + + Java documentation for android.speech.SpeechRecognizer.ERROR_CANNOT_LISTEN_TO_DOWNLOAD_EVENTS. + + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. + @@ -121,7 +137,7 @@ 5 - Other client side errors. + Other client side errors. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -148,8 +164,13 @@ 9 - To be added. + Insufficient permissions. + + + Java documentation for android.speech.SpeechRecognizer.ERROR_INSUFFICIENT_PERMISSIONS. + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -179,7 +200,15 @@ 12 - To be added. + The requested language cannot be used with the current recognizer. + + + + Java documentation for android.speech.SpeechRecognizer.ERROR_LANGUAGE_NOT_SUPPORTED. + + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. + @@ -207,7 +236,15 @@ 13 - To be added. + The requested language is supported but not currently available, such as when its model has not been downloaded. + + + + Java documentation for android.speech.SpeechRecognizer.ERROR_LANGUAGE_UNAVAILABLE. + + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. + @@ -231,7 +268,7 @@ 2 - Other network related errors. + Other network related errors. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -258,7 +295,7 @@ 1 - Network operation timed out. + Network operation timed out. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -285,7 +322,7 @@ 7 - No recognition result matched. + No recognition result matched. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -312,7 +349,7 @@ 8 - RecognitionService busy. + RecognitionService busy. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -339,7 +376,7 @@ 4 - Server sends error status. + Server sends error status. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -370,7 +407,15 @@ 11 - To be added. + The server has disconnected, for example because the app crashed. + + + + Java documentation for android.speech.SpeechRecognizer.ERROR_SERVER_DISCONNECTED. + + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. + @@ -394,8 +439,13 @@ 6 - To be added. + No speech input was received. + + + Java documentation for android.speech.SpeechRecognizer.ERROR_SPEECH_TIMEOUT. + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. @@ -425,7 +475,15 @@ 10 - To be added. + Too many requests were made by the same client. + + + + Java documentation for android.speech.SpeechRecognizer.ERROR_TOO_MANY_REQUESTS. + + + Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. +