summaryrefslogtreecommitdiffstats
path: root/core/java/android/speech/SpeechRecognizer.java
diff options
context:
space:
mode:
authorMarc Wilson <marcwilson@google.com>2013-09-11 03:55:52 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-11 03:55:52 -0700
commit9ddfa0e28396cb92803a493d4d8c0fbc701a8a7d (patch)
tree65f3c5c8997a68618c4986ccfae58a4a41a08ad4 /core/java/android/speech/SpeechRecognizer.java
parentd6b37fdf6c24321a87566ad4053dad5daa3a844a (diff)
parent02ff99c83942cdeae59e2e0abdc9b1493fe87006 (diff)
downloadframeworks_base-9ddfa0e28396cb92803a493d4d8c0fbc701a8a7d.zip
frameworks_base-9ddfa0e28396cb92803a493d4d8c0fbc701a8a7d.tar.gz
frameworks_base-9ddfa0e28396cb92803a493d4d8c0fbc701a8a7d.tar.bz2
am 02ff99c8: am e3af2dd7: Merge "Update documentation for speech APIs." into klp-dev
* commit '02ff99c83942cdeae59e2e0abdc9b1493fe87006': Update documentation for speech APIs.
Diffstat (limited to 'core/java/android/speech/SpeechRecognizer.java')
-rw-r--r--core/java/android/speech/SpeechRecognizer.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/core/java/android/speech/SpeechRecognizer.java b/core/java/android/speech/SpeechRecognizer.java
index 8fee41d..94aedbd 100644
--- a/core/java/android/speech/SpeechRecognizer.java
+++ b/core/java/android/speech/SpeechRecognizer.java
@@ -39,8 +39,14 @@ import java.util.Queue;
* This class provides access to the speech recognition service. This service allows access to the
* speech recognizer. Do not instantiate this class directly, instead, call
* {@link SpeechRecognizer#createSpeechRecognizer(Context)}. This class's methods must be
- * invoked only from the main application thread. Please note that the application must have
- * {@link android.Manifest.permission#RECORD_AUDIO} permission to use this class.
+ * invoked only from the main application thread.
+ *
+ * <p>The implementation of this API is likely to stream audio to remote servers to perform speech
+ * recognition. As such this API is not intended to be used for continuous recognition, which would
+ * consume a significant amount of battery and bandwidth.
+ *
+ * <p>Please note that the application must have {@link android.Manifest.permission#RECORD_AUDIO}
+ * permission to use this class.
*/
public class SpeechRecognizer {
/** DEBUG value to enable verbose debug prints */